#include <Quantity.h>
Inheritance diagram for Quantities::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 | |
std::string | version (void) |
the version of all Quantities classes |
defines common abilities of all quantities
Definition at line 581 of file Quantity.h.
|
destructor Since this is a polymorphic class, the destructor should be virtual; it is empty. Definition at line 613 of file Quantity.h. |
|
return whether the quantity is dimensionless pure virtual, must be overridden in all decendants of Quantity Implemented in Quantities::Quantity< GT, Loki::Typelist< Head, Tail >, DU, ST >. |
|
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 |
|
the version of all Quantities classes The version is returned by a static function as a std::string; Definition at line 587 of file Quantity.h. |