19 CUnitDescriptor(
const std::string &name,
const std::string &symbol,
unsigned int quantityTypeId,
const std::string &targetUnit,
20 const double &convFac,
const double &bias,
PrefixModeType mode,
const std::string &prefixSet);
Definition: UnitDescriptor.h:13
bool IsPrefixAllowed(char prefix) const
Definition: UnitDescriptor.cpp:69
CUnitDescriptor(const std::string &name, const std::string &symbol, unsigned int quantityTypeId, const std::string &targetUnit, const double &convFac, const double &bias, PrefixModeType mode, const std::string &prefixSet)
Definition: UnitDescriptor.cpp:12
double m_dBias
Definition: UnitDescriptor.h:56
const std::string & GetName() const
Definition: UnitDescriptor.h:34
const double & GetConvFac() const
Definition: UnitDescriptor.h:24
double m_dConvFac
Definition: UnitDescriptor.h:55
unsigned int GetQuantityTypeID() const
Definition: UnitDescriptor.h:44
const std::string & GetSymbol() const
Definition: UnitDescriptor.h:39
PrefixModeType m_uiPrefixMode
Definition: UnitDescriptor.h:60
const double & GetBias() const
Definition: UnitDescriptor.h:29
std::string m_strSymbol
Definition: UnitDescriptor.h:58
std::string m_strPrefixSet
Definition: UnitDescriptor.h:61
bool IsDecibel() const
Definition: UnitDescriptor.h:49
unsigned int m_uiQuantityTypeId
Definition: UnitDescriptor.h:59
std::string m_strName
Definition: UnitDescriptor.h:57
PrefixModeType
Definition: UnitDescriptor.h:16
@ ALL
Definition: UnitDescriptor.h:16
@ SOME
Definition: UnitDescriptor.h:16
@ NONE
Definition: UnitDescriptor.h:16
@ ALLBUT
Definition: UnitDescriptor.h:16
bool m_bDBFlag
Definition: UnitDescriptor.h:62