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

quantity::DefaultUnit< UT, U > Class Template Reference

store a unit U to be the default unit within Unit<UT> units More...

#include <Quantity.h>

List of all members.

Public Types

typedef U Unit
 to be used as the return value.


Private Types

typedef unit::CheckUnit< unit::Unit<
UT >, U >::Check 
Check
 internal dummy type


Detailed Description

template<class UT, class U>
class quantity::DefaultUnit< UT, U >

store a unit U to be the default unit within Unit<UT> units

checks U to be a subclass of the base unit Unit<UT> and make it accessable by member DefaultUnit::Unit.

Definition at line 218 of file Quantity.h.


Member Typedef Documentation

template<class UT, class U>
typedef unit::CheckUnit<unit::Unit<UT>, U>::Check quantity::DefaultUnit< UT, U >::Check [private]
 

internal dummy type

used in order to instantiate CheckUnit<Unit<UT>, U>

Definition at line 225 of file Quantity.h.

template<class UT, class U>
typedef U quantity::DefaultUnit< UT, U >::Unit
 

to be used as the return value.

Definition at line 229 of file Quantity.h.


The documentation for this class was generated from the following file:
Generated on Mon Feb 12 18:48:41 2007 for Quantity by doxygen 1.3.6