Bayeux
3.4.1
Core Foundation library for SuperNEMO
|
A physical geometry volume (ala GDML) More...
#include <bayeux/geomtools/physical_volume.h>
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::properties & | get_parameters () const |
datatools::properties & | grab_parameters () |
bool | has_placement () const |
void | set_placement (const i_placement &) |
void | set_placement (const i_placement *) |
const i_placement & | get_placement () const |
bool | has_logical () const |
void | set_logical (const logical_volume &) |
void | set_logical (const logical_volume *) |
const logical_volume & | get_logical () const |
bool | has_mother () const |
void | set_mother (const logical_volume &, const std::string &name_="") |
const logical_volume & | get_mother () const |
bool | has_real_mother () const |
void | set_real_mother (const logical_volume &) |
const logical_volume & | get_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_) |
A physical geometry volume (ala GDML)
typedef std::map<std::string, const physical_volume *> geomtools::physical_volume::dict_type |
geomtools::physical_volume::physical_volume | ( | datatools::logger::priority | = datatools::logger::PRIO_FATAL | ) |
geomtools::physical_volume::physical_volume | ( | const std::string & | name_, |
datatools::logger::priority | = datatools::logger::PRIO_FATAL |
||
) |
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 |
||
) |
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 |
||
) |
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 |
||
) |
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 |
||
) |
|
virtual |
datatools::logger::priority geomtools::physical_volume::get_logging_priority | ( | ) | const |
const logical_volume& geomtools::physical_volume::get_logical | ( | ) | const |
const logical_volume& geomtools::physical_volume::get_mother | ( | ) | const |
const std::string& geomtools::physical_volume::get_name | ( | ) | const |
const datatools::properties& geomtools::physical_volume::get_parameters | ( | ) | const |
const i_placement& geomtools::physical_volume::get_placement | ( | ) | const |
const logical_volume& geomtools::physical_volume::get_real_mother | ( | ) | const |
datatools::properties& geomtools::physical_volume::grab_parameters | ( | ) |
bool geomtools::physical_volume::has_logical | ( | ) | const |
bool geomtools::physical_volume::has_mother | ( | ) | const |
bool geomtools::physical_volume::has_placement | ( | ) | const |
bool geomtools::physical_volume::has_real_mother | ( | ) | const |
bool geomtools::physical_volume::is_locked | ( | ) | const |
void geomtools::physical_volume::lock | ( | ) |
void geomtools::physical_volume::set_logging_priority | ( | datatools::logger::priority | ) |
void geomtools::physical_volume::set_logical | ( | const logical_volume & | ) |
void geomtools::physical_volume::set_logical | ( | const logical_volume * | ) |
void geomtools::physical_volume::set_mother | ( | const logical_volume & | , |
const std::string & | name_ = "" |
||
) |
void geomtools::physical_volume::set_name | ( | const std::string & | ) |
void geomtools::physical_volume::set_placement | ( | const i_placement & | ) |
void geomtools::physical_volume::set_placement | ( | const i_placement * | ) |
void geomtools::physical_volume::set_real_mother | ( | const logical_volume & | ) |
|
virtual |
Main old interface method for printing.
Reimplemented from datatools::i_tree_dumpable.
void geomtools::physical_volume::unlock | ( | ) |