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

Private Types

typedef CheckUnits
< Unit< BT1 >,
Loki::Typelist
< NonPrefixable< BT1,
U >, UTail >
>::Check 
Check


Detailed Description

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

store information for unit composition

specialization for second argument being a Loki::Typelist with first element NonPrefixable, 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 413 of file Unit.h.


Member Typedef Documentation

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

Definition at line 419 of file Unit.h.

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

Definition at line 422 of file Unit.h.

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

Definition at line 423 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