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 435 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 442 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 446 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 447 of file Unit.h.


The documentation for this struct was generated from the following file:
Generated on Mon Jul 27 15:55:48 2009 for Quantities by  doxygen 1.5.3