#include <Quantity.h>
Inheritance diagram for quantity::Quantities:
Public Member Functions | |
virtual const std::string | unitsymbol (void) const=0 |
return the symbol of the storage unit | |
virtual const std::string | unitname (void) const=0 |
return the name of the storage unit | |
virtual const bool | isDimensionless (void) const=0 |
return whether the quantity is dimensionless | |
virtual | ~Quantities (void) |
destructor | |
Static Public Member Functions | |
const std::string | Version (void) |
the version of all Quantities classes | |
const std::string | version (void) |
return the version of a Quantities object; | |
Static Public Attributes | |
const std::string | TAG = "quantity" |
definition of Quantities xml tag | |
const std::string | MODETAG = "mode" |
definition of Quantity mode xml tag | |
const std::string | BASENAMETAG = "basename" |
definition of Quantity base name xml tag | |
const std::string | VALUETAG = "value" |
definition of Quantity value xml tag | |
const std::string | UNITTAG = "unit" |
definition of Quantity unit xml tag |
defines common abilities of all quantities
Definition at line 619 of file Quantity.h.
|
destructor Since this is a polymorphic class, the destructor should be virtual; it is empty. Definition at line 658 of file Quantity.h. |
|
return whether the quantity is dimensionless pure virtual, must be overridden in all decendants of Quantity |
|
return the name of the storage unit pure virtual, must be overridden in all decendants of Quantity |
|
return the symbol of the storage unit pure virtual, must be overridden in all decendants of Quantity |
|
return the version of a Quantities object; The version is returned by static function as a std::string; dynamic access. Definition at line 637 of file Quantity.h. References Version(). |
|
the version of all Quantities classes The version is returned by a static function as a std::string; statuc access. Definition at line 626 of file Quantity.h. Referenced by version(). |
|
definition of Quantity base name xml tag define outside of class Definition at line 67 of file Quantity.cc. |
|
definition of Quantity mode xml tag define outside of class Definition at line 64 of file Quantity.cc. |
|
definition of Quantities xml tag define outside of class Definition at line 61 of file Quantity.cc. |
|
definition of Quantity unit xml tag define outside of class Definition at line 73 of file Quantity.cc. |
|
definition of Quantity value xml tag define outside of class Definition at line 70 of file Quantity.cc. |