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

unit::NonPrefixable< BT, U > Class Template Reference

template NonPrefixable; More...

#include <Unit.h>

Inheritance diagram for unit::NonPrefixable< BT, U >:

unit::Unit< BT > unit::Units List of all members.

Public Member Functions

const bool isSI (void) const
 whether the unit is an SI unit;

const std::string name (void) const
 return the name of this unit.

const std::string symbol (void) const
 return the symbol of this unit.


Static Public Member Functions

const bool IsSI (void)
 whether the unit is an SI unit;

const std::string Name (void)
 return the name of this unit.

const std::string Symbol (void)
 return the symbol for this unit;


Static Private Attributes

const bool SI
 report whether the unit is an SI unit.

const std::string Namestring
 the name of the unit

const std::string Symbolstring
 the symbol of the unit


Detailed Description

template<class BT, class U>
class unit::NonPrefixable< BT, U >

template NonPrefixable;

a unit which can not have a prefix; it is derived from a base unit Unit<BT>; template parameter U is a dummy parameter distiguishing several differents units derived from Unit<BT>

Definition at line 181 of file Unit.h.


Member Function Documentation

template<class BT, class U>
const bool unit::NonPrefixable< BT, U >::isSI void   )  const [inline, virtual]
 

whether the unit is an SI unit;

dynamic access.

Implements unit::Unit< BT >.

Definition at line 208 of file Unit.h.

References unit::NonPrefixable< BT, U >::IsSI().

template<class BT, class U>
const bool unit::NonPrefixable< BT, U >::IsSI void   )  [inline, static]
 

whether the unit is an SI unit;

for static access without having definition of isSI available; common interface for all Units, can not be virtual since it is static member function

Definition at line 203 of file Unit.h.

References unit::NonPrefixable< BT, U >::SI.

Referenced by unit::NonPrefixable< BT, U >::isSI(), and unit::NonPrefixable< quantity::GenericClass< DIM >, GenericUnit >::isSI().

template<class BT, class U>
const std::string unit::NonPrefixable< BT, U >::name void   )  const [inline, virtual]
 

return the name of this unit.

dynamic access, to be used polymorphically if exact type is not known at compile time

Implements unit::Unit< BT >.

Definition at line 223 of file Unit.h.

References unit::NonPrefixable< BT, U >::Name().

template<class BT, class U>
const std::string unit::NonPrefixable< BT, U >::Name void   )  [inline, static]
 

return the name of this unit.

Definition at line 217 of file Unit.h.

Referenced by unit::NonPrefixable< BT, U >::name(), and unit::NonPrefixable< quantity::GenericClass< DIM >, GenericUnit >::name().

template<class BT, class U>
const std::string unit::NonPrefixable< BT, U >::symbol void   )  const [inline, virtual]
 

return the symbol of this unit.

dynamic access, to be used polymorphically if exact type is not known at compile time

Implements unit::Unit< BT >.

Definition at line 238 of file Unit.h.

References unit::NonPrefixable< BT, U >::Symbol().

template<class BT, class U>
const std::string unit::NonPrefixable< BT, U >::Symbol void   )  [inline, static]
 

return the symbol for this unit;

Definition at line 232 of file Unit.h.

Referenced by unit::NonPrefixable< BT, U >::symbol(), and unit::NonPrefixable< quantity::GenericClass< DIM >, GenericUnit >::symbol().


Member Data Documentation

template<class BT, class U>
const std::string unit::NonPrefixable< BT, U >::Namestring [static, private]
 

the name of the unit

must be supplied by definition outside of class.

Definition at line 190 of file Unit.h.

Referenced by unit::NonPrefixable< quantity::GenericClass< DIM >, GenericUnit >::Name().

template<class BT, class U>
const bool unit::NonPrefixable< BT, U >::SI [static, private]
 

report whether the unit is an SI unit.

Definition at line 185 of file Unit.h.

Referenced by unit::NonPrefixable< BT, U >::IsSI().

template<class BT, class U>
const std::string unit::NonPrefixable< BT, U >::Symbolstring [static, private]
 

the symbol of the unit

must be supplied by definition outside of class.

Definition at line 195 of file Unit.h.

Referenced by unit::NonPrefixable< quantity::GenericClass< DIM >, GenericUnit >::Symbol().


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