unit::Prefixed< Prefixable< BT, U >, UP > Class Template Reference

Spezialization of Prefixed for first parameter Prefixable<BT, U>. More...

#include <Unit.h>

Inheritance diagram for unit::Prefixed< Prefixable< BT, U >, UP >:

unit::Prefixable< BT, U > unit::Unit< BT > unit::Units

List of all members.

Public Member Functions

std::string name (void) const
 return the name of this unit.
std::string symbol (void) const
 return the symbol of this unit.

Static Public Member Functions

static std::string Name (void)
 the name of the Prefixed;
static std::string Symbol (void)
 the symbol of the Prefixed;


Detailed Description

template<class BT, class U, class UP>
class unit::Prefixed< Prefixable< BT, U >, UP >

Spezialization of Prefixed for first parameter Prefixable<BT, U>.

all Prefixed<> Units thus defined are subclasses of Prefixable<BT, U>, and characteristics of Prefixable<BT, U> are used to determine the factor, the name and the symbol of the Prefixed Unit.

Definition at line 271 of file Unit.h.


Member Function Documentation

template<class BT, class U, class UP>
static std::string unit::Prefixed< Prefixable< BT, U >, UP >::Name ( void   )  [inline, static]

the name of the Prefixed;

Definition at line 283 of file Unit.h.

template<class BT, class U, class UP>
std::string unit::Prefixed< Prefixable< BT, U >, UP >::name ( void   )  const [inline, virtual]

return the name of this unit.

dynamic access, to be used polymorphically if exact type is not known at compile time.

Implements unit::Unit< BT >.

Definition at line 290 of file Unit.h.

template<class BT, class U, class UP>
static std::string unit::Prefixed< Prefixable< BT, U >, UP >::Symbol ( void   )  [inline, static]

the symbol of the Prefixed;

Definition at line 301 of file Unit.h.

template<class BT, class U, class UP>
std::string unit::Prefixed< Prefixable< BT, U >, UP >::symbol ( void   )  const [inline, virtual]

return the symbol of this unit.

dynamic access, to be used polymorphically if exact type is not known at compile time

Implements unit::Unit< BT >.

Definition at line 308 of file Unit.h.


The documentation for this class was generated from the following file:
Generated on Mon Jul 27 15:55:48 2009 for Quantities by  doxygen 1.5.3