#include <ShapesUnitDef.hpp>

Public Member Functions | |
| ShapesUnitDef () | |
Public Member Functions inherited from UnitDef | |
| UnitDef () | |
| UnitDef (const UnitDef &UnitDef)=default | |
| std::tuple< double, double, double > | def (string qty, string unit) const |
| bool | has (string qty) const |
| bool | has (string qty, string unit) const |
| double | in (string qty, string unit, double value) const |
| UnitDef & | operator= (const UnitDef &)=default |
| double | out (string qty, string unit, double value) const |
| string | unit (string qty, string unitSystem, string unitStyle=string()) const |
Additional Inherited Members | |
Protected Member Functions inherited from UnitDef | |
| void | addDefaultUnit (string unitSystem, string quantity, string unit) |
| void | addUnit (string quantity, string unit, double factor, double power=1., double offset=0.) |
The ShapesUnitDef class defines the units and unit systems used by the Shapes program.
| ShapesUnitDef::ShapesUnitDef | ( | ) |
The default constructor loads the unit and unit system defintions.