CriticalProps Class Reference
A type used store a collection of substances and their critical properties. More...
#include <CriticalProps.hpp>
Public Member Functions | |
| CriticalProps (CriticalProps const &)=delete | |
| Construct a copy of a CriticalProps object [deleted]. | |
| auto | operator= (CriticalProps const &) -> CriticalProps &=delete |
| Assign a CriticalProps object to this [deleted]. | |
| auto | begin () const |
| Return begin const iterator of this ChemicalProps instance. | |
| auto | begin () |
| Return begin iterator of this ChemicalProps instance. | |
| auto | end () const |
| Return end const iterator of this ChemicalProps instance. | |
| auto | end () |
| Return end iterator of this ChemicalProps instance. | |
Static Public Member Functions | |
| static auto | instance () -> CriticalProps & |
| Return the single CriticalProps object. | |
| static auto | data () -> Deque< SubstanceCriticalProps > const & |
| Return the critical properties data in the database. | |
| static auto | defaultCriticalProps () -> Optional< SubstanceCriticalProps > const & |
| Return the default critical properties used for missing substances in the database. | |
| static auto | append (SubstanceCriticalProps crprops) -> void |
| Append critical properties for a substance in the database. | |
| static auto | overwrite (SubstanceCriticalProps crprops) -> void |
| Append critical properties for a substance in the database or overwrite if data already exists for the same substance. | |
| static auto | setMissingAs (String const &substance) -> void |
| Set a given existing substance in the database as the default choice for missing substances when using get. | |
| static auto | size () -> Index |
| Return the number of substances in the database. | |
| static auto | find (String const &substance) -> Index |
| Return the index of a substance in the database or number of substances if not found. | |
| static auto | get (String const &substance) -> Optional< SubstanceCriticalProps > |
| Return the substance and its critical properties with given name (e.g. "WATER", "CARBON-DIOXIDE", "HYDROGEN-SULFIDE", etc.). | |
| static auto | get (StringList const &substances) -> Optional< SubstanceCriticalProps > |
| Return the substance and its critical properties with given alternative names. | |
Detailed Description
A type used store a collection of substances and their critical properties.
The documentation for this class was generated from the following file:
- Reaktoro/Singletons/CriticalProps.hpp