Main Page Class Hierarchy Compound List Compound Members
SCOREC_UnitSystem::kg Struct Reference
class to represent SI base unit: mass. The function operator() can be called to return a pair of Unit and a multiplicator (to convert to the SI base unit without the prefix). This class was designed to work with the Unit class. Exception: Kilogram SI unit already has a prefix as part of its name and symbol. It can't be combined with other prefixes so this is the only one that is not templated. To use other prefix notations use the symbol gram (struct _g).
More...
#include <Unit.h>
Inheritance diagram for SCOREC_UnitSystem::kg::
List of all members.
Public Methods |
| kg (int e) |
std::pair<Unit,double> | operator() () const |
Detailed Description
class to represent SI base unit: mass. The function operator() can be called to return a pair of Unit and a multiplicator (to convert to the SI base unit without the prefix). This class was designed to work with the Unit class. Exception: Kilogram SI unit already has a prefix as part of its name and symbol. It can't be combined with other prefixes so this is the only one that is not templated. To use other prefix notations use the symbol gram (struct _g).
The documentation for this struct was generated from the following file:
Generated at Mon Jul 23 09:36:16 2001 for SCOREC_UnitSystem by
1.2.8.1 written by Dimitri van Heesch,
© 1997-2001