#include <Unit.h>
Public Member Functions | |
std::string | name (void) const |
return the name of this unit. | |
std::string | symbol (void) const |
return the symbol of this unit. | |
Static Public Member Functions | |
static std::string | Name (void) |
the name of the Prefixed; | |
static std::string | Symbol (void) |
the symbol of the Prefixed; |
all Prefixed<> Units thus defined are subclasses of Prefixable<BT, U>, and characteristics of Prefixable<BT, U> are used to determine the factor, the name and the symbol of the Prefixed Unit.
Definition at line 271 of file Unit.h.
static std::string unit::Prefixed< Prefixable< BT, U >, UP >::Name | ( | void | ) | [inline, static] |
std::string unit::Prefixed< Prefixable< BT, U >, UP >::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 >.
static std::string unit::Prefixed< Prefixable< BT, U >, UP >::Symbol | ( | void | ) | [inline, static] |
std::string unit::Prefixed< Prefixable< BT, U >, UP >::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 >.