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

Units::CheckUnits< BU, U > Struct Template Reference

helper template CheckUnits More...

#include <Unit.h>

List of all members.

Public Types

typedef CheckUnits< BU, typename
U::Tail >::Checked 
Checked

Private Types

typedef CheckUnit< BU, typename
U::Head >::Check 
UnitCheck


Detailed Description

template<class BU, class U>
struct Units::CheckUnits< BU, U >

helper template CheckUnits

check whether the elements of typelist U are all descendants of base class BU; U must be a typelist, since its members Head and Tail are used; this is a recursive template: first the Head of U is tested by a call to CheckUnit, then recursion involves the Tail of U. Member UnitCheck is a dummy.

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