unit Namespace Reference

Units according to the SI system. More...


Classes

class  NonPrefixable< GenericUnitBase< DIM >, GenericUnit >
 a unit to be used with Generic quantities More...
class  Prefix
 Prefix template class. More...
class  Unit
 a unit More...
class  NonPrefixable
 template NonPrefixable; More...
class  Prefixable
 a unit with an additional prefix More...
class  Prefixed< Prefixable< UT, U >, UP >
 Spezialization of Prefixed for a Prefixable<UT, U> base unit. More...
struct  UnitListError< false >
 report a unit list compile time error More...
struct  Power
 return a power string More...
struct  Power< N, 1L >
 return a power string More...
struct  Power< 1L, 1L >
 return a power string More...
class  ComposeBase< UT, Loki::Typelist< Component< UL, BSUtilities::Rational< N, D > >, CTail > >
 specialization of ComposeBase for CL being a list of Components More...
class  ComposeBase< UT, Loki::NullType >
 specialization of ComposeBase for CL being Loki::NullType More...
class  Composed< ComposeBase< UT, Loki::Typelist< Component< UL, BSUtilities::Rational< N, D > >, CTail > >, Loki::Typelist< NonPrefixable< UT1, U1 >, CUTail > >
 a unit which is composed of other units More...
class  Composed< ComposeBase< UT, Loki::Typelist< Component< UL, BSUtilities::Rational< N, D > >, CTail > >, Loki::Typelist< Prefixed< Prefixable< UT1, U1 >, UP1 >, CUTail > >
 a unit which is composed of other units More...
class  Composed< ComposeBase< UT, Loki::Typelist< Component< UL, BSUtilities::Rational< N, D > >, CTail > >, Loki::Typelist< Composed< ComposeBase< UT1, CL1 >, UL1 >, CUTail > >
 a unit which is composed of other units More...
class  Composed< ComposeBase< UT, CL >, Loki::NullType >
 a unit which is composed of other units More...
struct  Standard< NonPrefixable< UT, U >, N, D >
 static standardization More...
struct  Standard< Prefixed< Prefixable< UT, U >, P >, N, D >
 static standardization More...
struct  StandardComposed< Loki::Typelist< Component< CUL, BSUtilities::Rational< N, D > >, CTail >, Loki::Typelist< U, UTail > >
 static standardization helper More...
struct  StandardComposed< Loki::NullType, Loki::NullType >
 static standardization helper More...
struct  Standard< Composed< ComposeBase< UT, CL >, UL >, N, D >
 static standardization More...
struct  Reverse< NonPrefixable< UT, U >, N, D >
 static reverse standardization More...
struct  Reverse< Prefixed< Prefixable< UT, U >, P >, N, D >
 static reverse standardization More...
struct  ReverseComposed< Loki::Typelist< Component< CUL, BSUtilities::Rational< N, D > >, CTail >, Loki::Typelist< U, UTail > >
 static reverse standardization helper More...
struct  ReverseComposed< Loki::NullType, Loki::NullType >
 static reverse standardization helper More...
struct  Reverse< Composed< ComposeBase< UT, CL >, UL >, N, D >
 static reverse standardization More...
struct  ValidUnit< U, Loki::Typelist< NonPrefixable< UT, U1 >, UTail > >
 check a unit for being present in a (possibly expanded) unit list More...
class  ValidPrefixedUnit< U, Prefixable< UT, U1 >, Loki::Typelist< Prefix< P >, PTail > >
 unit validity check helper More...
class  ValidPrefixedUnit< U, Prefixable< UT, U1 >, Loki::NullType >
 unit validity check helper More...
struct  ValidUnit< U, Loki::Typelist< Prefixable< UT, U1 >, UTail > >
 check a unit for being present in a (possibly expanded) unit list More...
struct  ComposingUnits< Loki::Typelist< Component< CUL, BSUtilities::Rational< N, D > >, CTail >, Loki::Typelist< U, UTail > >
 unit validity check helper More...
struct  ComposingUnits< Loki::NullType, Loki::NullType >
 unit validity check helper More...
struct  ValidComposedUnit< Composed< ComposeBase< UT, CL >, UL >, ComposeBase< UT, CL > >
 unit validity check helper More...
struct  ValidComposedUnit< U, ComposeBase< UT, CL > >
 unit validity check helper More...
struct  ValidComposedUnit< U, ComposeBase< UT, Loki::NullType > >
 unit validity check helper More...
struct  ValidUnit< U, Loki::Typelist< ComposeBase< UT, CL >, UTail > >
 check a unit for being present in a (possibly expanded) unit list More...
struct  ValidUnit< U, Loki::NullType >
 check a unit for being present in a (possibly expanded) unit list More...
struct  standard< Loki::Typelist< NonPrefixable< UT, U >, UTail >, N, D >
 dynamic standardization More...
struct  standardPrefixed< Prefixable< UT, U1 >, Loki::Typelist< Prefix< P >, PTail >, N, D >
 dynamic standardization within a prefixable unit More...
struct  standardPrefixed< Prefixable< UT, U1 >, Loki::NullType, N, D >
 dynamic standardization within a prefixable unit More...
struct  standard< Loki::Typelist< Prefixable< UT, U >, UTail >, N, D >
 dynamic standardization More...
struct  standardComposed< ComposeBase< UT, Loki::Typelist< Component< CUL, BSUtilities::Rational< N, D > >, CTail > > >
 dynamic standardization within a compose base unit More...
struct  standardComposed< ComposeBase< UT, Loki::Typelist< Component< CUL, BSUtilities::Rational< N, D > >, Loki::NullType > > >
 dynamic standardization within a compose base unit More...
struct  ComposedClosure
 composed closure helper structure More...
class  ComposedGrammar
 spirit grammar for a composed unit More...
struct  standard< Loki::Typelist< ComposeBase< UT, Loki::Typelist< Component< CUL, BSUtilities::Rational< N1, D1 > >, CTail > >, UTail >, N, D >
 dynamic standardization More...
struct  standard< Loki::NullType, N, D >
 dynamic standardization More...
struct  reverse< Loki::Typelist< NonPrefixable< UT, U >, UTail >, N, D >
 dynamic reverse standardization More...
struct  reversePrefixed< Prefixable< UT, U1 >, Loki::Typelist< Prefix< P >, PTail >, N, D >
 dynamic reverse standardization within a prefixable unit More...
struct  reversePrefixed< Prefixable< UT, U1 >, Loki::NullType, N, D >
 dynamic reverse standardization within a prefixable unit More...
struct  reverse< Loki::Typelist< Prefixable< UT, U >, UTail >, N, D >
 dynamic reverse standardization More...
struct  reverseComposed< ComposeBase< UT, Loki::Typelist< Component< CUL, BSUtilities::Rational< N, D > >, CTail > > >
 dynamic reverse standardization within a compose base unit More...
struct  reverseComposed< ComposeBase< UT, Loki::Typelist< Component< CUL, BSUtilities::Rational< N, D > >, Loki::NullType > > >
 dynamic reverse standardization within a compose base unit More...
struct  reverse< Loki::Typelist< ComposeBase< UT, Loki::Typelist< Component< CUL, BSUtilities::Rational< N1, D1 > >, CTail > >, UTail >, N, D >
 dynamic reverse standardization More...
struct  reverse< Loki::NullType, N, D >
 dynamic reverse standardization More...
class  UnitError
 exception class, base for all exceptions for units in Quantity More...
class  UnitMismatch
 exception class More...
class  UnitInputError
 exception class More...
class  UnitSyntaxError
 exception class More...

Typedefs

typedef Prefix< NoPrefix > No
typedef Prefix< DeciPrefix > Deci
typedef Prefix< CentiPrefix > Centi
typedef Prefix< MilliPrefix > Milli
typedef Prefix< MicroPrefix > Micro
typedef Prefix< NanoPrefix > Nano
typedef Prefix< PicoPrefix > Pico
typedef Prefix< FemtoPrefix > Femto
typedef Prefix< AttoPrefix > Atto
typedef Prefix< ZeptoPrefix > Zepto
typedef Prefix< YoctoPrefix > Yocto
typedef Prefix< DecaPrefix > Deca
typedef Prefix< HectoPrefix > Hecto
typedef Prefix< KiloPrefix > Kilo
typedef Prefix< MegaPrefix > Mega
typedef Prefix< GigaPrefix > Giga
typedef Prefix< TeraPrefix > Tera
typedef Prefix< PetaPrefix > Peta
typedef Prefix< ExaPrefix > Exa
typedef Prefix< ZettaPrefix > Zetta
typedef Prefix< YottaPrefix > Yotta
typedef Loki::Typelist< Yotta,
Loki::Typelist< Zetta,
Loki::Typelist< Exa,
Loki::Typelist< Peta,
Loki::Typelist< Tera,
Loki::Typelist< Giga,
Loki::Typelist< Mega,
Loki::Typelist< Kilo,
Loki::Typelist< Hecto,
Loki::Typelist< Deca,
Loki::Typelist< No,
Loki::Typelist< Deci,
Loki::Typelist< Centi,
Loki::Typelist< Milli,
Loki::Typelist< Micro,
Loki::Typelist< Nano,
Loki::Typelist< Pico,
Loki::Typelist< Femto,
Loki::Typelist< Atto,
Loki::Typelist< Zepto,
Loki::Typelist< Yocto,
Loki::NullType > > > > > > > > > > > > > > > > > > > > > 
Prefixes
 the prefix list


Detailed Description

Units according to the SI system.

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, ComposeBase with subclasses Composed; Prefixable and ComposeBase both tie together a group of similar units, distinguished by prefixes; ComposeBase is a unit which us composed of other, previously defined units.


Typedef Documentation

typedef Prefix<AttoPrefix> unit::Atto

Definition at line 129 of file Prefix.h.

typedef Prefix<CentiPrefix> unit::Centi

Definition at line 87 of file Prefix.h.

typedef Prefix<DecaPrefix> unit::Deca

Definition at line 150 of file Prefix.h.

typedef Prefix<DeciPrefix> unit::Deci

Definition at line 79 of file Prefix.h.

typedef Prefix<ExaPrefix> unit::Exa

Definition at line 199 of file Prefix.h.

typedef Prefix<FemtoPrefix> unit::Femto

Definition at line 122 of file Prefix.h.

typedef Prefix<GigaPrefix> unit::Giga

Definition at line 178 of file Prefix.h.

typedef Prefix<HectoPrefix> unit::Hecto

Definition at line 157 of file Prefix.h.

typedef Prefix<KiloPrefix> unit::Kilo

Definition at line 164 of file Prefix.h.

typedef Prefix<MegaPrefix> unit::Mega

Definition at line 171 of file Prefix.h.

typedef Prefix<MicroPrefix> unit::Micro

Definition at line 101 of file Prefix.h.

typedef Prefix<MilliPrefix> unit::Milli

Definition at line 94 of file Prefix.h.

typedef Prefix<NanoPrefix> unit::Nano

Definition at line 108 of file Prefix.h.

typedef Prefix<NoPrefix> unit::No

Definition at line 72 of file Prefix.h.

typedef Prefix<PetaPrefix> unit::Peta

Definition at line 192 of file Prefix.h.

typedef Prefix<PicoPrefix> unit::Pico

Definition at line 115 of file Prefix.h.

typedef Loki::Typelist<Yotta, Loki::Typelist<Zetta, Loki::Typelist<Exa, Loki::Typelist<Peta, Loki::Typelist<Tera, Loki::Typelist<Giga, Loki::Typelist<Mega, Loki::Typelist<Kilo, Loki::Typelist<Hecto, Loki::Typelist<Deca, Loki::Typelist<No, Loki::Typelist<Deci, Loki::Typelist<Centi, Loki::Typelist<Milli, Loki::Typelist<Micro, Loki::Typelist<Nano, Loki::Typelist<Pico, Loki::Typelist<Femto, Loki::Typelist<Atto, Loki::Typelist<Zepto, Loki::Typelist<Yocto, Loki::NullType> > > > > > > > > > > > > > > > > > > > > unit::Prefixes

the prefix list

a typelist of all possible prefixes

Definition at line 228 of file Prefix.h.

typedef Prefix<TeraPrefix> unit::Tera

Definition at line 185 of file Prefix.h.

typedef Prefix<YoctoPrefix> unit::Yocto

Definition at line 143 of file Prefix.h.

typedef Prefix<YottaPrefix> unit::Yotta

Definition at line 213 of file Prefix.h.

typedef Prefix<ZeptoPrefix> unit::Zepto

Definition at line 136 of file Prefix.h.

typedef Prefix<ZettaPrefix> unit::Zetta

Definition at line 206 of file Prefix.h.


Generated on Wed Apr 11 18:07:12 2012 for Quantities by  doxygen 1.5.6