#include <Unit.h>
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 | |
bool | isSI (void) const |
whether the unit is an SI unit; | |
Static Public Member Functions | |
static bool | IsSI (void) |
whether the unit is an SI unit; | |
Static Protected Attributes | |
static const std::string | Basename = "mole" |
the name of this unit; | |
static const std::string | Basesymbol = "mol" |
the symbol for this unit; | |
Static Private Attributes | |
static const bool | SI = true |
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 320 of file Unit.h.
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> > > > > > > > > > > > > > > > > > > > > unit::Prefixable< BT, U >::Units |
static bool unit::Prefixable< BT, U >::IsSI | ( | void | ) | [inline, static] |
bool unit::Prefixable< BT, U >::isSI | ( | void | ) | const [inline, virtual] |
const bool quantity::volume::Litres::SI = true [inline, static, private] |
whether the unit is an SI unit;
this static variable must be defined outside of the class
Definition at line 326 of file Unit.h.
Referenced by unit::Prefixable< BT, unit::NonPrefixable< Unit, UUnit > >::IsSI().
const std::string quantity::volume::Litres::Basename = "mole" [inline, static, protected] |
const std::string quantity::volume::Litres::Basesymbol = "mol" [inline, static, protected] |