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

unit::ComposeElement< BT, Loki::Typelist< Composed< ComposeBase< BT1, CEL >, CUL >, UTail >, BSUtilities::Rational< N, D > > Struct Template Reference

store information for unit composition More...

#include <Unit.h>

List of all members.

Public Types

typedef Loki::Typelist< Composed<
ComposeBase< BT1, CEL >,
CUL >, UTail > 
Units
typedef BSUtilities::Rational<
N, D > 
Power

Private Types

typedef CheckUnits< Unit<
BT1 >, Loki::Typelist< Composed<
ComposeBase< BT1, CEL >,
CUL >, UTail > >::Check 
Check


Detailed Description

template<class BT, class BT1, class CEL, class CUL, class UTail, long N, long D>
struct unit::ComposeElement< BT, Loki::Typelist< Composed< ComposeBase< BT1, CEL >, CUL >, UTail >, BSUtilities::Rational< N, D > >

store information for unit composition

specialization for second argument being a typelist with first element Composed, and third argument being a Rational<>; checks that all units in the typelist are subclassed from Unit<BT> using the CheckUnits<> template.

Definition at line 469 of file Unit.h.


Member Typedef Documentation

template<class BT, class BT1, class CEL, class CUL, class UTail, long N, long D>
typedef CheckUnits<Unit<BT1>, Loki::Typelist<Composed<ComposeBase<BT1, CEL>, CUL>, UTail> >::Check unit::ComposeElement< BT, Loki::Typelist< Composed< ComposeBase< BT1, CEL >, CUL >, UTail >, BSUtilities::Rational< N, D > >::Check [private]
 

Definition at line 476 of file Unit.h.

template<class BT, class BT1, class CEL, class CUL, class UTail, long N, long D>
typedef BSUtilities::Rational<N, D> unit::ComposeElement< BT, Loki::Typelist< Composed< ComposeBase< BT1, CEL >, CUL >, UTail >, BSUtilities::Rational< N, D > >::Power
 

Definition at line 481 of file Unit.h.

template<class BT, class BT1, class CEL, class CUL, class UTail, long N, long D>
typedef Loki::Typelist<Composed<ComposeBase<BT1, CEL>, CUL>, UTail> unit::ComposeElement< BT, Loki::Typelist< Composed< ComposeBase< BT1, CEL >, CUL >, UTail >, BSUtilities::Rational< N, D > >::Units
 

Definition at line 480 of file Unit.h.


The documentation for this struct was generated from the following file:
Generated on Mon Feb 12 18:44:02 2007 for Quantity by doxygen 1.3.6