#include <Unit.h>
Inheritance diagram for unit::Unit< BT >:
Public Member Functions | |
virtual const std::string | name (void) const=0 |
return the name of the unit; | |
virtual const std::string | symbol (void) const=0 |
return the symbol of the unit; | |
virtual const bool | isSI (void) const=0 |
whether the unit is an SI unit; |
Template parameter BT is the unit type, which generates various base units that forms a common base class for more specialized derived units.
Definition at line 149 of file Unit.h.
|
whether the unit is an SI unit; dynamic access, to be used polymorphically Implemented in unit::NonPrefixable< quantity::GenericClass< DIM >, GenericUnit >, unit::NonPrefixable< BT, U >, and unit::Prefixable< BT, U >. |
|
return the name of the unit; dynamic access, to be used polymorphically Implemented in unit::NonPrefixable< quantity::GenericClass< DIM >, GenericUnit >, unit::NonPrefixable< BT, U >, and unit::Prefixed< Prefixable< BT, U >, UP >. |
|
return the symbol of the unit; dynamic access, to be used polymorphically Implemented in unit::NonPrefixable< quantity::GenericClass< DIM >, GenericUnit >, unit::NonPrefixable< BT, U >, and unit::Prefixed< Prefixable< BT, U >, UP >. |