unit::ComposedSI< Loki::Typelist< U, UTail > > Struct Template Reference

compute SI status of a Composed unit; More...

#include <Unit.h>

List of all members.

Static Public Member Functions

static bool isSI (void)


Detailed Description

template<class U, class UTail>
struct unit::ComposedSI< Loki::Typelist< U, UTail > >

compute SI status of a Composed unit;

specialization for a typelist argument; we assume that the Composed is an SI unit if any one of the component units is also an SI unit; recursive template.

Definition at line 485 of file Unit.h.


Member Function Documentation

template<class U, class UTail>
static bool unit::ComposedSI< Loki::Typelist< U, UTail > >::isSI ( void   )  [inline, static]

check all elements in typelist for being an SI unit; if any of the units in the typelist is not an SI unit, return false; otherwise return true.

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