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

Quantities::DefaultUnit< GT, U, ST > Class Template Reference

store a unit U to be the default unit within Unit<GT, ST> units More...

#include <Quantity.h>

List of all members.

Public Types

typedef U Unit
 to be used as the return value.


Private Types

typedef Units::CheckUnit<
Units::Unit< GT, ST >, U
>::Check 
Checked
 internal dummy type


Detailed Description

template<class GT, class U, class ST = double>
class Quantities::DefaultUnit< GT, U, ST >

store a unit U to be the default unit within Unit<GT, ST> units

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

Definition at line 184 of file Quantity.h.


Member Typedef Documentation

template<class GT, class U, class ST = double>
typedef Units::CheckUnit<Units::Unit<GT, ST>, U>::Check Quantities::DefaultUnit< GT, U, ST >::Checked [private]
 

internal dummy type

used in order to instantiate CheckUnit<Unit<GT, ST>, U>

Definition at line 192 of file Quantity.h.


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