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

unit::ComposeElement< BT, Loki::Typelist< Prefixed< Prefixable< BT1, U >, UP >, 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< Prefixed<
Prefixable< BT1, U >, UP >,
UTail > 
Units
typedef BSUtilities::Rational<
N, D > 
Power

Private Types

typedef CheckUnits< Unit<
BT1 >, Loki::Typelist< Prefixed<
Prefixable< BT1, U >, UP >,
UTail > >::Check 
Check


Detailed Description

template<class BT, class BT1, class U, class UP, class UTail, long N, long D>
struct unit::ComposeElement< BT, Loki::Typelist< Prefixed< Prefixable< BT1, U >, UP >, UTail >, BSUtilities::Rational< N, D > >

store information for unit composition

specialization for second argument being a typelist with first element Prefixed, 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 427 of file Unit.h.


Member Typedef Documentation

template<class BT, class BT1, class U, class UP, class UTail, long N, long D>
typedef CheckUnits<Unit<BT1>, Loki::Typelist<Prefixed<Prefixable<BT1, U>, UP>, UTail> >::Check unit::ComposeElement< BT, Loki::Typelist< Prefixed< Prefixable< BT1, U >, UP >, UTail >, BSUtilities::Rational< N, D > >::Check [private]
 

Definition at line 434 of file Unit.h.

template<class BT, class BT1, class U, class UP, class UTail, long N, long D>
typedef BSUtilities::Rational<N, D> unit::ComposeElement< BT, Loki::Typelist< Prefixed< Prefixable< BT1, U >, UP >, UTail >, BSUtilities::Rational< N, D > >::Power
 

Definition at line 439 of file Unit.h.

template<class BT, class BT1, class U, class UP, class UTail, long N, long D>
typedef Loki::Typelist<Prefixed<Prefixable<BT1, U>, UP>, UTail> unit::ComposeElement< BT, Loki::Typelist< Prefixed< Prefixable< BT1, U >, UP >, UTail >, BSUtilities::Rational< N, D > >::Units
 

Definition at line 438 of file Unit.h.


The documentation for this struct was generated from the following file:
Generated on Sun Jan 15 14:05:23 2006 for Quantity by doxygen 1.3.6