unit::Prefix< P > Class Template Reference

Prefix template class. More...

#include <Prefix.h>

List of all members.

Static Public Attributes

static const double Factor = 1.0
 return the factor associated with this prefix;
static const std::string Name = ""
 return the name associated with this prefix;
static 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 43 of file Prefix.h.


Member Data Documentation

template<class P>
const double unit::Yotta::Factor = 1.0 [inline, static]

return the factor associated with this prefix;

the Yotta Prefix

the Zetta Prefix

the Exa Prefix

the Peta Prefix

the Tera Prefix

the Giga Prefix

the Mega Prefix

the kilo Prefix

the hecto Prefix

the deca Prefix

the yocto Prefix

the zepto Prefix

the atto Prefix

the femto Prefix

the pico Prefix

the nano Prefix

the micro Prefix

the milli Prefix

the centi Prefix

the deci Prefix

the No 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 53 of file Prefix.h.

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

return the name associated with this prefix;

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

.

Definition at line 59 of file Prefix.h.

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

return the symbol associated with this prefix;

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

.

Definition at line 65 of file Prefix.h.


The documentation for this class was generated from the following files:

Generated on Wed Apr 11 18:07:13 2012 for Quantities by  doxygen 1.5.6