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 = 1.0
 the Yotta 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::Yotta::Factor = 1.0 [static]
 

the Yotta 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 132 of file Prefix.cc.

template<class P>
const std::string unit::Yotta::Name = "" [static]
 

return the name associated with this prefix;

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

.

Definition at line 133 of file Prefix.cc.

template<class P>
const std::string unit::Yotta::Symbol = "" [static]
 

return the symbol associated with this prefix;

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

.

Definition at line 134 of file Prefix.cc.


The documentation for this class was generated from the following files:
Generated on Mon Feb 12 18:48:44 2007 for Quantity by doxygen 1.3.6