Flow123d
JS_before_hm-1804-gf2ad740aa
|
Helper class. Defines basic factors of SI, non-SI and derived units. More...
#include <unit_converter.hh>
Classes | |
struct | DerivedUnit |
Public Types | |
typedef std::map< std::string, struct DerivedUnit > | UnitsMap |
Public Member Functions | |
BasicFactors () | |
Constructor. More... | |
Public Attributes | |
UnitsMap | units_map_ |
Define all base and derived units given by their symbol. More... | |
Helper class. Defines basic factors of SI, non-SI and derived units.
Class is instantiated as static object of UnitConverter class and provides check of user defined units.
Definition at line 75 of file unit_converter.hh.
typedef std::map<std::string, struct DerivedUnit> BasicFactors::UnitsMap |
Definition at line 82 of file unit_converter.hh.
BasicFactors::BasicFactors | ( | ) |
Constructor.
Definition at line 27 of file unit_converter.cc.
UnitsMap BasicFactors::units_map_ |
Define all base and derived units given by their symbol.
Definition at line 85 of file unit_converter.hh.