107 boost::shared_ptr<std::vector<std::string> >
names_;
117 #endif // SUBSTANCE_HH_
Substance()
Default constructor.
const std::vector< std::string > & names()
boost::shared_ptr< std::vector< Substance > > substances_
The actual list of substances.
void initialize(const Input::Array &in_array)
Read from input array.
const Substance & operator[](unsigned int index)
boost::shared_ptr< std::vector< std::string > > names_
Auxiliary list of substance names used in some classes.
unsigned int size() const
double molar_mass() const
Getter for molar mass.
std::string name_
Name of a chemical substance.
double molar_mass_
Molar mass [kg/mol] of the substance.
static Input::Type::Record input_type
Input type for a substance.
std::string name() const
Getter for substance name.