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

Units::Prefix< P > Class Template Reference

Prefix template class. More...

#include <UnitPrefix.h>

List of all members.

Static Public Attributes

const double factor
 return the factor associated with this prefix;

const std::string Name
 return the name associated with this prefix;

const std::string Symbol
 return the symbol associated with this prefix;


Detailed Description

template<class P>
class Units::Prefix< P >

Prefix template class.

takes one dummy parameter P; the prefixes for units are defined within the SI, see Mills et al., 1993, p. 74; the prefixes are used in prefixed units and modify a base unit by multiplication with factors which are powers of 10.

Definition at line 38 of file UnitPrefix.h.


Member Data Documentation

template<class P>
const double Units::Prefix< P >::factor [static]
 

return the factor associated with this prefix;

Must be defined outside of class as specialization for each type Prefix

; this factor defines the conversion of a prefixed unit into the corresponding base unit.

Definition at line 48 of file UnitPrefix.h.

template<class P>
const std::string Units::Prefix< P >::Name [static]
 

return the name associated with this prefix;

Must be defined outside of class as specialization for each type Prefix

.

Definition at line 54 of file UnitPrefix.h.

template<class P>
const std::string Units::Prefix< P >::Symbol [static]
 

return the symbol associated with this prefix;

Must be defined outside of class as specialization for each type Prefix

.

Definition at line 60 of file UnitPrefix.h.


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