Flow123d  3.9.0-b05f67a5a
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
BasicFactors Class Reference

Helper class. Defines basic factors of SI, non-SI and derived units. More...

#include <unit_converter.hh>

Collaboration diagram for BasicFactors:
Collaboration graph
[legend]

Classes

struct  DerivedUnit
 

Public Types

typedef std::map< std::string, struct DerivedUnitUnitsMap
 

Public Member Functions

 BasicFactors ()
 Constructor. More...
 

Public Attributes

UnitsMap units_map_
 Define all base and derived units given by their symbol. More...
 

Detailed Description

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.

Member Typedef Documentation

◆ UnitsMap

typedef std::map<std::string, struct DerivedUnit> BasicFactors::UnitsMap

Definition at line 82 of file unit_converter.hh.

Constructor & Destructor Documentation

◆ BasicFactors()

BasicFactors::BasicFactors ( )

Constructor.

Definition at line 27 of file unit_converter.cc.

Member Data Documentation

◆ units_map_

UnitsMap BasicFactors::units_map_

Define all base and derived units given by their symbol.

Definition at line 85 of file unit_converter.hh.


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