Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | Related Pages

Quantities::Quantities Class Reference

Quantities base class. More...

#include <Quantity.h>

Inheritance diagram for Quantities::Quantities:

Quantities::Quantity< GT, Loki::Typelist< Head, Tail >, DU, ST > List of all members.

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


Detailed Description

Quantities base class.

defines common abilities of all quantities

Definition at line 581 of file Quantity.h.


Constructor & Destructor Documentation

virtual Quantities::Quantities::~Quantities void   )  [inline, virtual]
 

destructor

Since this is a polymorphic class, the destructor should be virtual; it is empty.

Definition at line 613 of file Quantity.h.


Member Function Documentation

virtual const bool Quantities::Quantities::isDimensionless void   )  const [pure virtual]
 

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 >.

virtual const std::string Quantities::Quantities::unitname void   )  const [pure virtual]
 

return the name of the storage unit

pure virtual, must be overridden in all decendants of Quantity

virtual const std::string Quantities::Quantities::unitsymbol void   )  const [pure virtual]
 

return the symbol of the storage unit

pure virtual, must be overridden in all decendants of Quantity

std::string Quantities::Quantities::version void   )  [inline, static]
 

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.


The documentation for this class was generated from the following file:
Generated on Sun Jan 15 13:58:00 2006 for Quantity by doxygen 1.3.6