Bayeux  3.4.1
Core Foundation library for SuperNEMO
Public Member Functions | List of all members
materials::factory Class Reference

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...
 
isotopecreate_isotope (const std::string &name_, const datatools::properties &config_) const
 Isotope factory method. More...
 
elementcreate_element (const std::string &name_, const datatools::properties &config_, const isotope_dict_type &isotopes_) const
 Element factory method. More...
 
materialcreate_material (const std::string &name_, const datatools::properties &config_, const element_dict_type &elements_, const material_dict_type &materials_) const
 Material factory method. More...
 

Detailed Description

Factory for isotopes, elements and materials.

Constructor & Destructor Documentation

◆ factory()

materials::factory::factory ( )

Constructor.

◆ ~factory()

virtual materials::factory::~factory ( )
virtual

Destructor.

Member Function Documentation

◆ create_element()

element* materials::factory::create_element ( const std::string &  name_,
const datatools::properties config_,
const isotope_dict_type isotopes_ 
) const

Element factory method.

◆ create_isotope()

isotope* materials::factory::create_isotope ( const std::string &  name_,
const datatools::properties config_ 
) const

Isotope factory method.

◆ create_material()

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.

◆ has_manager()

bool materials::factory::has_manager ( ) const

Check for a manager.

◆ is_debug()

bool materials::factory::is_debug ( ) const

Check debug status.

◆ set_debug()

void materials::factory::set_debug ( bool  )

Set debug status.

◆ set_manager()

void materials::factory::set_manager ( manager )

Set a manager.


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