![]() |
Bayeux
3.4.1
Core Foundation library for SuperNEMO
|
Factory for isotopes, elements and materials. More...
#include <bayeux/materials/factory.h>
Public Member Functions | |
| bool | is_debug () const |
| Check debug status. More... | |
| void | set_debug (bool) |
| Set debug status. More... | |
| factory () | |
| Constructor. More... | |
| virtual | ~factory () |
| Destructor. More... | |
| bool | has_manager () const |
| Check for a manager. More... | |
| void | set_manager (manager &) |
| Set a manager. More... | |
| isotope * | create_isotope (const std::string &name_, const datatools::properties &config_) const |
| Isotope factory method. More... | |
| element * | create_element (const std::string &name_, const datatools::properties &config_, const isotope_dict_type &isotopes_) const |
| Element factory method. More... | |
| material * | create_material (const std::string &name_, const datatools::properties &config_, const element_dict_type &elements_, const material_dict_type &materials_) const |
| Material factory method. More... | |
Factory for isotopes, elements and materials.
| materials::factory::factory | ( | ) |
Constructor.
|
virtual |
Destructor.
| element* materials::factory::create_element | ( | const std::string & | name_, |
| const datatools::properties & | config_, | ||
| const isotope_dict_type & | isotopes_ | ||
| ) | const |
Element factory method.
| isotope* materials::factory::create_isotope | ( | const std::string & | name_, |
| const datatools::properties & | config_ | ||
| ) | const |
Isotope factory method.
| material* materials::factory::create_material | ( | const std::string & | name_, |
| const datatools::properties & | config_, | ||
| const element_dict_type & | elements_, | ||
| const material_dict_type & | materials_ | ||
| ) | const |
Material factory method.
| bool materials::factory::has_manager | ( | ) | const |
Check for a manager.
| bool materials::factory::is_debug | ( | ) | const |
Check debug status.
| void materials::factory::set_debug | ( | bool | ) |
Set debug status.
| void materials::factory::set_manager | ( | manager & | ) |
Set a manager.
1.8.15