Bayeux  3.4.1
Core Foundation library for SuperNEMO
Public Types | Public Member Functions | List of all members
geomtools::physical_volume Class Reference

A physical geometry volume (ala GDML) More...

#include <bayeux/geomtools/physical_volume.h>

Inheritance diagram for geomtools::physical_volume:
datatools::i_tree_dumpable

Public Types

typedef std::map< std::string, const physical_volume * > dict_type
 
- Public Types inherited from datatools::i_tree_dumpable
enum  ostream_type { OSTREAM_COUT = 1, OSTREAM_CERR = 2, OSTREAM_CLOG = 3 }
 Enumeration for standard output streams. More...
 

Public Member Functions

bool is_locked () const
 
void lock ()
 
void unlock ()
 
const std::string & get_name () const
 
void set_name (const std::string &)
 
const datatools::propertiesget_parameters () const
 
datatools::propertiesgrab_parameters ()
 
bool has_placement () const
 
void set_placement (const i_placement &)
 
void set_placement (const i_placement *)
 
const i_placementget_placement () const
 
bool has_logical () const
 
void set_logical (const logical_volume &)
 
void set_logical (const logical_volume *)
 
const logical_volumeget_logical () const
 
bool has_mother () const
 
void set_mother (const logical_volume &, const std::string &name_="")
 
const logical_volumeget_mother () const
 
bool has_real_mother () const
 
void set_real_mother (const logical_volume &)
 
const logical_volumeget_real_mother () const
 
 physical_volume (datatools::logger::priority=datatools::logger::PRIO_FATAL)
 
 physical_volume (const std::string &name_, datatools::logger::priority=datatools::logger::PRIO_FATAL)
 
 physical_volume (const std::string &name_, const logical_volume &logical_, const logical_volume &mother_, const i_placement &placement_, datatools::logger::priority=datatools::logger::PRIO_FATAL)
 
 physical_volume (const std::string &name_, const logical_volume *logical_, const logical_volume &mother_, const i_placement &placement_, datatools::logger::priority=datatools::logger::PRIO_FATAL)
 
 physical_volume (const std::string &name_, const logical_volume &logical_, const logical_volume &mother_, const i_placement *placement_, datatools::logger::priority=datatools::logger::PRIO_FATAL)
 
 physical_volume (const std::string &name_, const logical_volume *logical_, const logical_volume &mother_, const i_placement *placement_, datatools::logger::priority=datatools::logger::PRIO_FATAL)
 
virtual ~physical_volume ()
 
void set_logging_priority (datatools::logger::priority)
 
datatools::logger::priority get_logging_priority () const
 
virtual void tree_dump (std::ostream &out_=std::clog, const std::string &title_="", const std::string &indent_="", bool inherit_=false) const
 Main old interface method for printing. More...
 
- Public Member Functions inherited from datatools::i_tree_dumpable
 i_tree_dumpable ()
 Constructor. More...
 
virtual ~i_tree_dumpable ()
 Destructor. More...
 
virtual void print_tree (std::ostream &out_=std::clog, const boost::property_tree::ptree &options_=empty_options()) const
 Main new interface method for printing. More...
 
void print_tree_json (std::ostream &out_=std::clog, const std::string &json_options_="") const
 Printing with jsonized options. More...
 
void print_tree_json (std::ostream &out_=std::clog, const char *json_options_=nullptr) const
 Printing with jsonized options. More...
 
void tree_dump_id (const int out_type_=OSTREAM_CLOG, const std::string &title_="", const std::string &indent_="", const bool inherit_=false) const
 
void tree_print_id (const int out_type_=OSTREAM_CLOG, const std::string &title_="") const
 
void smart_print_id (const int out_type_=OSTREAM_CLOG, const std::string &title_="", const std::string &indent_="") const
 

Additional Inherited Members

- Static Public Member Functions inherited from datatools::i_tree_dumpable
static const boost::property_tree::ptree & empty_options ()
 
static boost::property_tree::ptree make_base_print_options (const std::string &title_, const std::string &indent_="", const bool inherit_=false)
 
static std::ostream & last_skip_tag (std::ostream &out_)
 
static std::ostream & skip_tag (std::ostream &out_)
 
static std::ostream & last_tag (std::ostream &out_)
 
static std::ostream & tag (std::ostream &out_)
 

Detailed Description

A physical geometry volume (ala GDML)

Member Typedef Documentation

◆ dict_type

typedef std::map<std::string, const physical_volume *> geomtools::physical_volume::dict_type

Constructor & Destructor Documentation

◆ physical_volume() [1/6]

geomtools::physical_volume::physical_volume ( datatools::logger::priority  = datatools::logger::PRIO_FATAL)

◆ physical_volume() [2/6]

geomtools::physical_volume::physical_volume ( const std::string &  name_,
datatools::logger::priority  = datatools::logger::PRIO_FATAL 
)

◆ physical_volume() [3/6]

geomtools::physical_volume::physical_volume ( const std::string &  name_,
const logical_volume logical_,
const logical_volume mother_,
const i_placement placement_,
datatools::logger::priority  = datatools::logger::PRIO_FATAL 
)

◆ physical_volume() [4/6]

geomtools::physical_volume::physical_volume ( const std::string &  name_,
const logical_volume logical_,
const logical_volume mother_,
const i_placement placement_,
datatools::logger::priority  = datatools::logger::PRIO_FATAL 
)

◆ physical_volume() [5/6]

geomtools::physical_volume::physical_volume ( const std::string &  name_,
const logical_volume logical_,
const logical_volume mother_,
const i_placement placement_,
datatools::logger::priority  = datatools::logger::PRIO_FATAL 
)

◆ physical_volume() [6/6]

geomtools::physical_volume::physical_volume ( const std::string &  name_,
const logical_volume logical_,
const logical_volume mother_,
const i_placement placement_,
datatools::logger::priority  = datatools::logger::PRIO_FATAL 
)

◆ ~physical_volume()

virtual geomtools::physical_volume::~physical_volume ( )
virtual

Member Function Documentation

◆ get_logging_priority()

datatools::logger::priority geomtools::physical_volume::get_logging_priority ( ) const

◆ get_logical()

const logical_volume& geomtools::physical_volume::get_logical ( ) const

◆ get_mother()

const logical_volume& geomtools::physical_volume::get_mother ( ) const

◆ get_name()

const std::string& geomtools::physical_volume::get_name ( ) const

◆ get_parameters()

const datatools::properties& geomtools::physical_volume::get_parameters ( ) const

◆ get_placement()

const i_placement& geomtools::physical_volume::get_placement ( ) const

◆ get_real_mother()

const logical_volume& geomtools::physical_volume::get_real_mother ( ) const

◆ grab_parameters()

datatools::properties& geomtools::physical_volume::grab_parameters ( )

◆ has_logical()

bool geomtools::physical_volume::has_logical ( ) const

◆ has_mother()

bool geomtools::physical_volume::has_mother ( ) const

◆ has_placement()

bool geomtools::physical_volume::has_placement ( ) const

◆ has_real_mother()

bool geomtools::physical_volume::has_real_mother ( ) const

◆ is_locked()

bool geomtools::physical_volume::is_locked ( ) const

◆ lock()

void geomtools::physical_volume::lock ( )

◆ set_logging_priority()

void geomtools::physical_volume::set_logging_priority ( datatools::logger::priority  )

◆ set_logical() [1/2]

void geomtools::physical_volume::set_logical ( const logical_volume )

◆ set_logical() [2/2]

void geomtools::physical_volume::set_logical ( const logical_volume )

◆ set_mother()

void geomtools::physical_volume::set_mother ( const logical_volume ,
const std::string &  name_ = "" 
)

◆ set_name()

void geomtools::physical_volume::set_name ( const std::string &  )

◆ set_placement() [1/2]

void geomtools::physical_volume::set_placement ( const i_placement )

◆ set_placement() [2/2]

void geomtools::physical_volume::set_placement ( const i_placement )

◆ set_real_mother()

void geomtools::physical_volume::set_real_mother ( const logical_volume )

◆ tree_dump()

virtual void geomtools::physical_volume::tree_dump ( std::ostream &  out_ = std::clog,
const std::string &  title_ = "",
const std::string &  indent_ = "",
bool  inherit_ = false 
) const
virtual

Main old interface method for printing.

Reimplemented from datatools::i_tree_dumpable.

◆ unlock()

void geomtools::physical_volume::unlock ( )

The documentation for this class was generated from the following file: