Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

unit Namespace Reference

Units according to the SI system. More...


Classes

class  NonPrefixable< quantity::GenericClass< 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...

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< BT, U >, UP >
 Spezialization of Prefixed for first parameter Prefixable<BT, U>. More...

class  Prefixable
 template Prefixable; 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  ComposedSI< Loki::Typelist< U, UTail > >
 compute SI status of a Composed unit; More...

struct  ComposedSI< Loki::NullType >
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  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...

class  Composed< ComposeBase< BT, CEL >, UL >
 A unit which is composed of other units. 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  GenComposedList< U, Loki::NullType >
 generate a list of unit combinations to be composed 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...

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  GenPowers< Loki::Typelist< CE, Loki::NullType > >
 generate a list of powers 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...


Typedefs

typedef NonPrefixable< DedimensionalizedUnit,
DedimensionalizedUnityUnit > 
DedimensionalizedUnity
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

Functions

typedef LOKI_TYPELIST_1 (DedimensionalizedUnity) DedimensionalizedUnits


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 NonPrefixable<DedimensionalizedUnit, DedimensionalizedUnityUnit> unit::DedimensionalizedUnity
 

Definition at line 70 of file DedimensionalizedVariable.h.

Referenced by quantity::DedimensionalizedVariable< Quantity< dimension::Dimension< BSUtilities::Rational< RL_N, RL_D >, BSUtilities::Rational< RM_N, RM_D >, BSUtilities::Rational< RT_N, RT_D >, BSUtilities::Rational< RE_N, RE_D >, BSUtilities::Rational< RTE_N, RTE_D >, BSUtilities::Rational< RA_N, RA_D >, BSUtilities::Rational< RLU_N, RLU_D > >, BT, UL, DU, ST >, SU, Loki::Functor< R, Loki::Typelist< DDH, DDT > > >::value().

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.


Function Documentation

typedef LOKI_TYPELIST_1 DedimensionalizedUnity   ) 
 


Generated on Mon Feb 12 18:48:44 2007 for Quantity by doxygen 1.3.6