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

unit::CheckUnits< BU, TUL > Struct Template Reference

helper template CheckUnits More...

#include <Unit.h>

List of all members.

Public Types

typedef CheckUnits< BU, typename
TUL::Tail >::Check 
Check

Private Types

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


Detailed Description

template<class BU, class TUL>
struct unit::CheckUnits< BU, TUL >

helper template CheckUnits

check whether the elements of TUL are all descendants of base class BU; TUL must be a Loki::Typelist, who's members Head and Tail are used; this is a recursive template: first the Head of UL is tested by a call to CheckUnit, then recursion involves the Tail of TUL; member UnitCheck is a dummy.

Definition at line 97 of file Unit.h.


Member Typedef Documentation

template<class BU, class TUL>
typedef CheckUnits<BU, typename TUL::Tail>::Check unit::CheckUnits< BU, TUL >::Check
 

Definition at line 104 of file Unit.h.

template<class BU, class TUL>
typedef CheckUnit<BU, typename TUL::Head>::Check unit::CheckUnits< BU, TUL >::UnitCheck [private]
 

Definition at line 101 of file Unit.h.


The documentation for this struct was generated from the following file:
Generated on Sun Jan 15 14:05:23 2006 for Quantity by doxygen 1.3.6