Skip to main content
#include <dpf_api_base.h>

Public Member Functions

Detailed Description

System of measurement units.

Constructor & Destructor Documentation

UnitSystem() [1/2]

explicit Create new unit system. Parameters

UnitSystem() [2/2]

explicit Creates a new custom unit system from its base unit strings Parameters

Member Function Documentation

c_str()

Gets name of unit system. Returns Name of unit system.

getId()

Gets identifer of unit system. Returns Id of unit system.

getUnitNames()

Gets unit_names of unit system (if it is custom). Returns unit_names string of unit system (if it is custom).

operator std::string()

Name of unit system.