#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; | |
void | save (BSUtilities::xmlw::XmlStream &os) const |
Static Public Member Functions | |
const bool | IsSI (void) |
std::string | Name (void) |
std::string | Symbol (void) |
Static Public Attributes | |
const std::string | Namestring |
const std::string | Symbolstring |
const std::string | TYPE |
the xml Generic attribute | |
Static Private Attributes | |
const bool | SI |
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 72 of file Generic.h. References unit::NonPrefixable< BT, U >::IsSI(). |
|
Definition at line 70 of file Generic.h. References unit::NonPrefixable< BT, U >::SI. |
|
return the name of the unit; dynamic access, to be used polymorphically Implements unit::Unit< BT >. Definition at line 78 of file Generic.h. References unit::NonPrefixable< BT, U >::Name(). |
|
Definition at line 76 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 84 of file Generic.h. References unit::NonPrefixable< BT, U >::Symbol(). |
|
Definition at line 82 of file Generic.h. References unit::NonPrefixable< BT, U >::Symbolstring. |
|
|
|
|
|
|
|
the xml Generic attribute define outside of class |