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

unit::Prefix< P > Class Template Reference

Prefix template class. More...

#include <Prefix.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 unit::Prefix< P >

Prefix template class.

takes one dummy argument 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 Prefix.h.


Member Data Documentation

template<class P>
const double unit::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 Prefix.h.

template<class P>
const std::string unit::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 Prefix.h.

template<class P>
const std::string unit::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 Prefix.h.


The documentation for this class was generated from the following file:
Generated on Sun Jan 15 14:05:23 2006 for Quantity by doxygen 1.3.6