ADTF
|
The DDRefunit class holding a reference to its complete DD (references to baseunit and prefix) More...
Public Member Functions | |
DDRefUnit ()=delete | |
no default CTOR | |
DDRefUnit (const DDRefUnit &)=default | |
copy CTOR | |
DDRefUnit (DDRefUnit &&)=default | |
move CTOR | |
DDRefUnit & | operator= (const DDRefUnit &)=default |
copy assignment operator More... | |
DDRefUnit & | operator= (DDRefUnit &&)=default |
move assignment operator More... | |
DDRefUnit (const dd::BaseUnit &base_unit, int32_t power, const dd::UnitPrefix &unit_prefix) | |
CTOR. More... | |
const dd::Unit::RefUnit & | getRefUnit () const |
Get the Ref Unit object. More... | |
const dd::DataDefinition & | getDD () const |
Get the data definition. More... | |
Private Attributes | |
dd::Unit::RefUnit | _ref_unit |
dd::DataDefinition | _dd |
The DDRefunit class holding a reference to its complete DD (references to baseunit and prefix)
DDRefUnit | ( | const dd::BaseUnit & | base_unit, |
int32_t | power, | ||
const dd::UnitPrefix & | unit_prefix | ||
) |
CTOR.
base_unit | the base_unit |
power | the power of the refunit |
unit_prefix | the prefix |
const dd::DataDefinition& getDD | ( | ) | const |
Get the data definition.
const dd::Unit::RefUnit& getRefUnit | ( | ) | const |
Get the Ref Unit object.