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

Units::CompoundElement< GT, Loki::Typelist< NonPrefixable< GT1, U, ST >, Tail >, BSUtilities::Rational< N, D >, ST > Struct Template Reference

store an element of a composite unit More...

#include <Unit.h>

List of all members.

Public Types

typedef Loki::Typelist< NonPrefixable<
GT1, U, ST >, Tail > 
Units
typedef BSUtilities::Rational<
N, D > 
Power

Private Types

typedef CheckUnits< Unit<
GT1, ST >, Loki::Typelist<
NonPrefixable< GT1, U, ST >,
Tail > >::Checked 
Checked


Detailed Description

template<class GT, class GT1, class U, class Tail, long N, long D, class ST>
struct Units::CompoundElement< GT, Loki::Typelist< NonPrefixable< GT1, U, ST >, Tail >, BSUtilities::Rational< N, D >, ST >

store an element of a composite unit

specialization for second parameter being a typelist, and third parameter being a Rational<>; checks that all units in the typelist are subclassed from Unit<GT, ST> using the CheckUnits<> template.

Definition at line 621 of file Unit.h.


The documentation for this struct was generated from the following file:
Generated on Sun Jan 15 13:58:01 2006 for Quantity by doxygen 1.3.6