#include <Unit.h>
Public Member Functions | |
bool const | 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) |
report whether the unit is an SI unit. | |
const std::string | Name (void) |
the name of this unit. | |
const std::string | Symbol (void) |
the symbol of this unit; | |
Private Types | |
typedef Composed< ComposeBase< BT, CEL >, UL > | Unit |
typedef ComposeBase< BT, CEL >::Powers::Powers | Powers |
specialization for first argument being the base compound unit; the units in list UL must be compatible with to the units present in the unit lists of the corresponding CEL elements; UL must be a Loki::Typelist of Unit types; template parameter BT is defined as for Unit; Composed is derived from a base class ComposeBase, which ties together several Composed units for the same combination of T and CEL; composition may be from any number of NonPrefixable, Prefixed or Composed units.
Definition at line 602 of file Unit.h.
|
|
|
|
|
whether the unit is an SI unit; dynamic access. |
|
report whether the unit is an SI unit.
|
|
return the name of this unit. dynamic access, to be used polymorphically if exact type is not known at compile time |
|
the name of this unit.
|
|
return the symbol of this unit. dynamic access, to be used polymorphically if exact type is not known at compile time |
|
the symbol of this unit;
|