quantity::DefaultUnitTemplate< 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<typename UT, typename U>
class quantity::DefaultUnitTemplate< 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 DefaultUnitTemplate::Unit.

Definition at line 253 of file Quantity.h.


Member Typedef Documentation

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

internal dummy type

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

Definition at line 260 of file Quantity.h.

template<typename UT, typename U>
typedef U quantity::DefaultUnitTemplate< UT, U >::Unit

to be used as the return value.

Definition at line 264 of file Quantity.h.


The documentation for this class was generated from the following file:
Generated on Mon Jul 27 15:55:47 2009 for Quantities by  doxygen 1.5.3