#include <Unit.h>
Inheritance diagram for unit::Prefixable< BT, U >:
Public Types | |
typedef Loki::Typelist< Prefixed< Prefixable< BT, U >, Yotta >, Loki::Typelist< Prefixed< Prefixable< BT, U >, Zetta >, Loki::Typelist< Prefixed< Prefixable< BT, U >, Exa >, Loki::Typelist< Prefixed< Prefixable< BT, U >, Peta >, Loki::Typelist< Prefixed< Prefixable< BT, U >, Tera >, Loki::Typelist< Prefixed< Prefixable< BT, U >, Giga >, Loki::Typelist< Prefixed< Prefixable< BT, U >, Mega >, Loki::Typelist< Prefixed< Prefixable< BT, U >, Kilo >, Loki::Typelist< Prefixed< Prefixable< BT, U >, Hecto >, Loki::Typelist< Prefixed< Prefixable< BT, U >, Deca >, Loki::Typelist< Prefixed< Prefixable< BT, U >, No >, Loki::Typelist< Prefixed< Prefixable< BT, U >, Deci >, Loki::Typelist< Prefixed< Prefixable< BT, U >, Centi >, Loki::Typelist< Prefixed< Prefixable< BT, U >, Milli >, Loki::Typelist< Prefixed< Prefixable< BT, U >, Micro >, Loki::Typelist< Prefixed< Prefixable< BT, U >, Nano >, Loki::Typelist< Prefixed< Prefixable< BT, U >, Pico >, Loki::Typelist< Prefixed< Prefixable< BT, U >, Femto >, Loki::Typelist< Prefixed< Prefixable< BT, U >, Atto >, Loki::Typelist< Prefixed< Prefixable< BT, U >, Zepto >, Loki::Typelist< Prefixed< Prefixable< BT, U >, Yocto >, Loki::NullType > > > > > > > > > > > > > > > > > > > > > | Units |
Typelist of all Prefixed derived units;. | |
Public Member Functions | |
const bool | isSI (void) const |
whether the unit is an SI unit; | |
Static Public Member Functions | |
const bool | IsSI (void) |
whether the unit is an SI unit; | |
Static Protected Attributes | |
const std::string | Basename |
the name of this unit; | |
const std::string | Basesymbol |
the symbol for this unit; | |
Static Private Attributes | |
const bool | SI |
whether the unit is an SI unit; |
a unit with an additional prefix (defined by the SI) which defines the order of magnitude; it is derived from a base unit Unit<BT>; template parameter U is a dummy parameter; the class defines a member Units, which lists all the expanded units which can be derived from Prefixable<BT, U> by attaching a prefix.
Definition at line 312 of file Unit.h.
|
Typelist of all Prefixed derived units;.
|
|
whether the unit is an SI unit; dynamic access. Implements unit::Unit< BT >. Definition at line 356 of file Unit.h. References unit::Prefixable< BT, U >::IsSI(). |
|
whether the unit is an SI unit; for access without having definition of isSI available; common interface for all Units, can not be virtual since it is static member function Definition at line 351 of file Unit.h. Referenced by unit::Prefixable< BT, U >::isSI(). |
|
the name of this unit;
|
|
the symbol for this unit;
|
|
whether the unit is an SI unit; this static variable must be defined outside of the class |