#include <Unit.h>
Inheritance diagram for unit::NonPrefixable< BT, U >:
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 |
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.
|
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(). |
|
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(). |
|
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(). |
|
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(). |
|
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(). |
|
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(). |
|
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(). |
|
report whether the unit is an SI unit.
Definition at line 185 of file Unit.h. Referenced by unit::NonPrefixable< BT, U >::IsSI(). |
|
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(). |