#include <Generic.h>
Inheritance diagram for unit::NonPrefixable< quantity::GenericClass< DIM >, GenericUnit >:
Public Member Functions | |
const bool | isSI (void) const |
whether the unit is an SI unit; | |
const std::string | name (void) const |
return the name of the unit; | |
const std::string | symbol (void) const |
return the symbol of the unit; | |
Static Public Member Functions | |
std::string | Name (void) |
std::string | Symbol (void) |
Static Public Attributes | |
const bool | IsSI |
const std::string | Namestring |
const std::string | Symbolstring |
this defines a NonPrefixable unit, which is linked to other Generic quantity objects through GenericClass<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 63 of file Generic.h.
|
whether the unit is an SI unit; dynamic access, to be used polymorphically Implements unit::Unit< BT >. Definition at line 69 of file Generic.h. References unit::NonPrefixable< BT, U >::IsSI(). |
|
return the name of the unit; dynamic access, to be used polymorphically Implements unit::Unit< BT >. Definition at line 75 of file Generic.h. References unit::NonPrefixable< BT, U >::Name(). |
|
Definition at line 73 of file Generic.h. References unit::NonPrefixable< BT, U >::Namestring. |
|
return the symbol of the unit; dynamic access, to be used polymorphically Implements unit::Unit< BT >. Definition at line 81 of file Generic.h. References unit::NonPrefixable< BT, U >::Symbol(). |
|
Definition at line 79 of file Generic.h. References unit::NonPrefixable< BT, U >::Symbolstring. |
|
|
|
|
|
|