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...
struct  CheckUnit
 helper template CheckUnit More...
struct  CheckUnits
 helper template CheckUnits More...
class  Units
 the base class for all units More...
class  Unit
 basic template Unit; More...
class  NonPrefixable
 template NonPrefixable; More...
class  Prefixed< Prefixable< BT, U >, UP >
 Spezialization of Prefixed for first parameter Prefixable<BT, U>. More...
class  Prefixable
 template Prefixable; More...
class  Composed< ComposeBase< BT, CEL >, UL >
 A unit which is composed of other units. More...
struct  CheckUnits< BU, Loki::NullType >
 helper template CheckUnits, end of Typelist reached More...
struct  ComposedSI< Loki::Typelist< U, UTail > >
 compute SI status of a Composed unit; More...
struct  ComposedSI< Loki::NullType >
struct  GenComposedList< U, Loki::NullType >
 generate a list of unit combinations to be composed More...
struct  ExpandComposeElementList< Loki::Typelist< CELHead, CELTail > >
 expand compound element list More...
struct  ExpandComposeElementList< Loki::NullType >
 expand compound element list More...
struct  GenComposedUnits< ComposeBase< BT, CEL >, Loki::Typelist< CULHead, CULTail > >
 generate a list of composed units More...
struct  GenComposedUnits< ComposeBase< BT, CEL >, Loki::NullType >
 generate a list of composed units More...
struct  GenPowers< Loki::Typelist< CELHead, CELTail > >
 generate a list of powers for composed units More...
struct  ComposeElement< BT, Loki::Typelist< NonPrefixable< BT1, U >, UTail >, BSUtilities::Rational< N, D > >
 store information for unit composition More...
struct  ComposeElement< BT, Loki::Typelist< Prefixed< Prefixable< BT1, U >, UP >, UTail >, BSUtilities::Rational< N, D > >
 store information for unit composition More...
struct  ComposeElement< BT, Loki::Typelist< Composed< ComposeBase< BT1, CEL >, CUL >, UTail >, BSUtilities::Rational< N, D > >
 store information for unit composition More...
struct  GenComposedList< Loki::Typelist< U, UTail >, Loki::NullType >
 generate a list of unit combinations to be composed More...
struct  GenComposedList< Loki::NullType, Loki::NullType >
 generate a list of unit combinations to be composed More...
struct  GenComposedList< U1, Loki::Typelist< Loki::Typelist< U, UTail >, CULTail > >
 generate a list of unit combinations to be composed More...
struct  GenPowers< Loki::Typelist< CE, Loki::NullType > >
 generate a list of powers More...
struct  ComposedStrings< Loki::Typelist< U, UTail >, Loki::Typelist< BSUtilities::Rational< N, D >, RTail > >
 string determination for a composed unit; More...
struct  ComposedStrings< Loki::Typelist< U, UTail >, Loki::Typelist< BSUtilities::Rational< N, 1L >, RTail > >
 string determination for a composed unit; More...
struct  ComposedStrings< Loki::Typelist< U, UTail >, Loki::Typelist< BSUtilities::Rational< 1L, 1L >, RTail > >
 string determination for a composed unit; More...
struct  GenComposedList< Loki::Typelist< U1, U1Tail >, Loki::Typelist< Loki::Typelist< U, UTail >, CULTail > >
 generate a list of unit combinations to be composed More...
struct  GenComposedList< Loki::NullType, Loki::Typelist< Loki::Typelist< U, UTail >, CULTail > >
 generate a list of unit combinations to be composed More...
class  ComposeBase< BT, Loki::Typelist< ComposeElement< BT, Loki::Typelist< UHead, UTail >, BSUtilities::Rational< N, D > >, ELTail > >
 a set of units which are composed of other units; More...
struct  ComposedStrings< Loki::Typelist< U, Loki::NullType >, Loki::Typelist< BSUtilities::Rational< N, D >, Loki::NullType > >
 string determination for a composed unit; More...
struct  ComposedStrings< Loki::Typelist< U, Loki::NullType >, Loki::Typelist< BSUtilities::Rational< N >, Loki::NullType > >
 string determination for a composed unit; 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


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 sublasses 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 125 of file Prefix.h.

typedef Prefix<CentiPrefix> unit::Centi

Definition at line 83 of file Prefix.h.

typedef Prefix<DecaPrefix> unit::Deca

Definition at line 146 of file Prefix.h.

typedef Prefix<DeciPrefix> unit::Deci

Definition at line 75 of file Prefix.h.

typedef Prefix<ExaPrefix> unit::Exa

Definition at line 195 of file Prefix.h.

typedef Prefix<FemtoPrefix> unit::Femto

Definition at line 118 of file Prefix.h.

typedef Prefix<GigaPrefix> unit::Giga

Definition at line 174 of file Prefix.h.

typedef Prefix<HectoPrefix> unit::Hecto

Definition at line 153 of file Prefix.h.

typedef Prefix<KiloPrefix> unit::Kilo

Definition at line 160 of file Prefix.h.

typedef Prefix<MegaPrefix> unit::Mega

Definition at line 167 of file Prefix.h.

typedef Prefix<MicroPrefix> unit::Micro

Definition at line 97 of file Prefix.h.

typedef Prefix<MilliPrefix> unit::Milli

Definition at line 90 of file Prefix.h.

typedef Prefix<NanoPrefix> unit::Nano

Definition at line 104 of file Prefix.h.

typedef Prefix<NoPrefix> unit::No

Definition at line 68 of file Prefix.h.

typedef Prefix<PetaPrefix> unit::Peta

Definition at line 188 of file Prefix.h.

typedef Prefix<PicoPrefix> unit::Pico

Definition at line 111 of file Prefix.h.

typedef Prefix<TeraPrefix> unit::Tera

Definition at line 181 of file Prefix.h.

typedef Prefix<YoctoPrefix> unit::Yocto

Definition at line 139 of file Prefix.h.

typedef Prefix<YottaPrefix> unit::Yotta

Definition at line 209 of file Prefix.h.

typedef Prefix<ZeptoPrefix> unit::Zepto

Definition at line 132 of file Prefix.h.

typedef Prefix<ZettaPrefix> unit::Zetta

Definition at line 202 of file Prefix.h.


Generated on Mon Jul 27 15:55:48 2009 for Quantities by  doxygen 1.5.3