#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; |
defines common abilities of all quantities
Definition at line 613 of file Quantity.h.
|
destructor Since this is a polymorphic class, the destructor should be virtual; it is empty. Definition at line 652 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 631 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 620 of file Quantity.h. Referenced by version(). |