Classes | |
class | NonPrefixable< Quantities::GenericClass< GT >, GenericUnit, ST > |
a unit to be used with Generic quantities More... | |
struct | UnitError< false > |
helper template UnitError, no UnitError occurred More... | |
struct | CheckUnit |
helper template CheckUnit More... | |
struct | CheckUnits |
helper template CheckUnits More... | |
struct | CheckUnits< BU, Loki::NullType > |
helper template CheckUnits, end of Typelist reached More... | |
class | Units |
the base class for all units More... | |
class | Unit |
Basic template Unit;. More... | |
class | NonPrefixable |
template NonPrefixable; More... | |
class | Prefixed< Prefixable< GT, U, ST >, P > |
Spezialization of Prefixed for first parameter Prefixable<GT, U, ST>. More... | |
class | Prefixable |
template Prefixable; More... | |
struct | CompoundElement< GT, Loki::Typelist< NonPrefixable< GT1, U, ST >, Tail >, BSUtilities::Rational< N, D >, ST > |
store an element of a composite unit More... | |
struct | CompoundElement< GT, Loki::Typelist< Prefixed< Prefixable< GT1, U, ST >, P >, Tail >, BSUtilities::Rational< N, D >, ST > |
struct | CompoundElement< GT, Loki::Typelist< Composed< Compound< GT1, U, ST >, EL >, Tail >, BSUtilities::Rational< N, D >, ST > |
struct | CheckBoolProperty< Loki::Typelist< NonPrefixable< GT, U, ST >, Tail > > |
check boolean properties of units More... | |
struct | CheckBoolProperty< Loki::Typelist< Prefixed< Prefixable< GT, U, ST >, P >, Tail > > |
check boolean properties of units More... | |
struct | CheckBoolProperty< Loki::Typelist< Composed< Compound< GT, EL, ST >, UL >, Tail > > |
check boolean properties of units More... | |
struct | CheckBoolProperty< Loki::NullType > |
class | ComposedStandard< Loki::Typelist< U, UTail >, Loki::Typelist< BSUtilities::Rational< N, D >, RTail >, ST > |
determine the ratio between units More... | |
class | ComposedStandard< Loki::Typelist< U, Loki::NullType >, Loki::Typelist< BSUtilities::Rational< N, D >, Loki::NullType >, ST > |
determine the ratio between units More... | |
class | ComposedStrings< Loki::Typelist< U, Loki::NullType >, Loki::Typelist< BSUtilities::Rational< N, D >, Loki::NullType > > |
string determination for a composed unit; More... | |
class | ComposedStrings< Loki::Typelist< U, Loki::NullType >, Loki::Typelist< BSUtilities::Rational< N >, Loki::NullType > > |
string determination for a composed unit; More... | |
class | ComposedStrings< Loki::Typelist< U, UTail >, Loki::Typelist< BSUtilities::Rational< N, D >, RTail > > |
string determination for a composed unit; More... | |
class | ComposedStrings< Loki::Typelist< U, UTail >, Loki::Typelist< BSUtilities::Rational< N, 1L >, RTail > > |
string determination for a composed unit; More... | |
class | ComposedStrings< Loki::Typelist< U, UTail >, Loki::Typelist< BSUtilities::Rational< 1L, 1L >, RTail > > |
string determination for a composed unit; More... | |
class | Composed< Compound< GT, CUL, ST >, Loki::Typelist< U, UTail > > |
A unit which is composed of other units. More... | |
struct | GenComposedList< Loki::Typelist< NonPrefixable< GT, U, ST >, UTail >, Loki::NullType > |
no previous ComposedList, i.e. NullType More... | |
struct | GenComposedList< Loki::Typelist< Prefixed< Prefixable< GT, U, ST >, P >, UTail >, Loki::NullType > |
struct | GenComposedList< Loki::Typelist< Composed< BC, EL >, UTail >, Loki::NullType > |
struct | GenComposedList< Loki::NullType, Loki::NullType > |
ok, end regression More... | |
struct | GenComposedList< NonPrefixable< GT1, U1, ST >, Loki::Typelist< Loki::Typelist< U, UTail >, ELTail > > |
previous ComposedList present, apply an add. unit, NonPref. More... | |
struct | GenComposedList< NonPrefixable< GT, U, ST >, Loki::NullType > |
struct | GenComposedList< Prefixed< Prefixable< GT1, U1, ST >, P >, Loki::Typelist< Loki::Typelist< U, UTail >, ELTail > > |
previous ComposedList present, apply an add. unit, Prefixed More... | |
struct | GenComposedList< Prefixed< Prefixable< GT, U, ST >, P >, Loki::NullType > |
struct | GenComposedList< Composed< BC1, EL1 >, Loki::Typelist< Loki::Typelist< U, UTail >, ELTail > > |
previous ComposedList present, apply an add. unit, Composed More... | |
struct | GenComposedList< Composed< BC1, EL1 >, Loki::NullType > |
struct | GenComposedList< Loki::Typelist< NonPrefixable< GT1, U1, ST >, UTail >, Loki::Typelist< Loki::Typelist< U, U1Tail >, ELTail > > |
prev. ComposedList present, apply list of units, NonPref. More... | |
struct | GenComposedList< Loki::Typelist< Prefixed< Prefixable< GT1, U1, ST >, P >, UTail >, Loki::Typelist< Loki::Typelist< U, U1Tail >, ELTail > > |
prev. ComposedList present, apply list of units, Prefixed More... | |
struct | GenComposedList< Loki::Typelist< Composed< BC1, EL1 >, UTail >, Loki::Typelist< Loki::Typelist< U, U1Tail >, ELTail > > |
prev. ComposedList present, apply list of units, Composed More... | |
struct | GenComposedList< Loki::NullType, Loki::Typelist< Loki::Typelist< U, U1Tail >, ELTail > > |
prev. ComposedList present, end of list reached More... | |
struct | ExpandCompoundElementList< Loki::Typelist< CompoundElement< GT, Loki::Typelist< UHead, UTail >, BSUtilities::Rational< N, D >, ST >, CETail >, ST > |
struct | ExpandCompoundElementList< Loki::NullType > |
struct | GenComposedUnits< Compound< GT, EList, ST >, Loki::Typelist< CELHead, CELTail > > |
struct | GenComposedUnits< Compound< GT, EList, ST >, Loki::NullType > |
struct | GenPowers< Loki::Typelist< EHead, ETail > > |
generate a list of powers More... | |
struct | GenPowers< Loki::Typelist< EHead, Loki::NullType > > |
generate a list of powers More... | |
class | Compound< GT, Loki::Typelist< CompoundElement< GT, Loki::Typelist< UHead, UTail >, BSUtilities::Rational< N, D >, ST >, Tail >, ST > |
a set of units which are composed of other units; More... | |
class | Prefix |
Prefix template class. More... | |
Functions | |
template<class GT, class ST> ST | NonPrefixable< Quantities::GenericClass< GT >, GenericUnit, ST >::Standard (const ST &value) |
template<class GT, class ST> ST | NonPrefixable< Quantities::GenericClass< GT >, GenericUnit, ST >::Reverse (const ST &value) |
Variables | |
template | No |
template | Deci |
template | Centi |
template | Milli |
template | Micro |
template | Nano |
template | Pico |
template | Femto |
template | Atto |
template | Zepto |
template | Yocto |
template | Deca |
template | Hecto |
template | Kilo |
template | Mega |
template | Giga |
template | Tera |
template | Peta |
template | Exa |
template | Zetta |
template | Yotta |
This namespace collects classes, structs, and functions to handle SI units in the form of templates. All units are derived from template Unit; three types are used: NonPrefixable, Prefixable with subclasses Prefixed, Compound with sublasses Composed; Prefixable and Compound both tie together a group of similar units, distinguished by prefixes; Compound is a unit which us composed of other, previously defined units.