#include <Generic.h>

Public Member Functions | |
| bool | isSI (void) const |
| whether the unit is an SI unit; | |
| std::string | name (void) const |
| return the name of the unit; | |
| std::string | symbol (void) const |
| return the symbol of the unit; | |
Static Public Member Functions | |
| static bool | IsSI (void) |
| static std::string | Name (void) |
| static std::string | Symbol (void) |
Static Public Attributes | |
| static const std::string | Namestring = "" |
| static const std::string | Symbolstring = "(unknown unit)" |
Static Private Attributes | |
| static const bool | SI = false |
this defines a NonPrefixable unit, which is linked to other Generic quantity objects through DIM; in order to be able to have this parametrized by DIM, this is a specialization of the NonPrefixable template from Units; this must be in the same namespace as the original NonPrefixable declaration.
Definition at line 79 of file Generic.h.
| static bool unit::NonPrefixable< GenericUnitBase< DIM >, GenericUnit >::IsSI | ( | void | ) | [inline, static] |
| bool unit::NonPrefixable< GenericUnitBase< DIM >, GenericUnit >::isSI | ( | void | ) | const [inline, virtual] |
whether the unit is an SI unit;
dynamic access, to be used polymorphically
Implements unit::Unit< GenericUnitBase< DIM > >.
Definition at line 88 of file Generic.h.
References unit::NonPrefixable< BT, U >::IsSI().
| static std::string unit::NonPrefixable< GenericUnitBase< DIM >, GenericUnit >::Name | ( | void | ) | [inline, static] |
| std::string unit::NonPrefixable< GenericUnitBase< DIM >, GenericUnit >::name | ( | void | ) | const [inline, virtual] |
return the name of the unit;
dynamic access, to be used polymorphically
Implements unit::Unit< GenericUnitBase< DIM > >.
Definition at line 94 of file Generic.h.
References unit::NonPrefixable< BT, U >::Name().
| static std::string unit::NonPrefixable< GenericUnitBase< DIM >, GenericUnit >::Symbol | ( | void | ) | [inline, static] |
| std::string unit::NonPrefixable< GenericUnitBase< DIM >, GenericUnit >::symbol | ( | void | ) | const [inline, virtual] |
return the symbol of the unit;
dynamic access, to be used polymorphically
Implements unit::Unit< GenericUnitBase< DIM > >.
Definition at line 100 of file Generic.h.
References unit::NonPrefixable< BT, U >::Symbol().
const bool unit::NonPrefixable< GenericUnitBase< DIM >, GenericUnit >::SI = false [inline, static, private] |
const std::string unit::NonPrefixable< GenericUnitBase< DIM >, GenericUnit >::Namestring = "" [inline, static] |
const std::string unit::NonPrefixable< GenericUnitBase< DIM >, GenericUnit >::Symbolstring = "(unknown unit)" [inline, static] |
1.5.3