H2 Combustion
|
This class manages all substances that occur in Reaction or Compound objects. More...
Public Member Functions | |
std::string | getName () |
Static Public Member Functions | |
static Substance * | findAddSubstance (std::string name) |
static Substance * | findSubstance (std::string name) |
Static Public Attributes | |
static std::list< Substance * > | allSubstances |
Substances are fully identified using their name. Because of the constructor being private, Substance instances can only be generated by use of the static function findAddSubstance(), which first looks, whether a given substance is already available in the list of substances.