#include <Unit.h>

Public Member Functions | |
| virtual std::string | name (void) const =0 |
| return the name of the unit; | |
| virtual std::string | symbol (void) const =0 |
| return the symbol of the unit; | |
| virtual bool | isSI (void) const =0 |
| whether the unit is an SI unit; | |
| virtual | ~Unit () |
Template parameter BT is the unit type, which generates various base units that form a common base class for more specialized derived units.
Definition at line 154 of file Unit.h.
| virtual unit::Unit< BT >::~Unit | ( | ) | [inline, virtual] |
| virtual std::string unit::Unit< BT >::name | ( | void | ) | const [pure virtual] |
return the name of the unit;
dynamic access, to be used polymorphically
Implemented in unit::NonPrefixable< GenericUnitBase< DIM >, GenericUnit >, unit::NonPrefixable< BT, U >, and unit::Prefixed< Prefixable< BT, U >, UP >.
| virtual std::string unit::Unit< BT >::symbol | ( | void | ) | const [pure virtual] |
return the symbol of the unit;
dynamic access, to be used polymorphically
Implemented in unit::NonPrefixable< GenericUnitBase< DIM >, GenericUnit >, unit::NonPrefixable< BT, U >, and unit::Prefixed< Prefixable< BT, U >, UP >.
| virtual bool unit::Unit< BT >::isSI | ( | void | ) | const [pure virtual] |
whether the unit is an SI unit;
dynamic access, to be used polymorphically
Implemented in unit::NonPrefixable< GenericUnitBase< DIM >, GenericUnit >, unit::NonPrefixable< BT, U >, unit::Prefixable< BT, U >, and unit::Prefixable< BT, unit::NonPrefixable< Unit, UUnit > >.
1.5.3