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

unit::Composed< ComposeBase< BT, CEL >, UL > Class Template Reference

A unit which is composed of other units. More...

#include <Unit.h>

List of all members.

Public Member Functions

bool const  isSI (void) const
 whether the unit is an SI unit;

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

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


Static Public Member Functions

const bool IsSI (void)
 report whether the unit is an SI unit.

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

const std::string Symbol (void)
 the symbol of this unit;


Private Types

typedef Composed< ComposeBase<
BT, CEL >, UL > 
Unit
typedef ComposeBase< BT, CEL
>::Powers::Powers 
Powers


Detailed Description

template<class BT, class CEL, class UL>
class unit::Composed< ComposeBase< BT, CEL >, UL >

A unit which is composed of other units.

specialization for first argument being the base compound unit; the units in list UL must be compatible with to the units present in the unit lists of the corresponding CEL elements; UL must be a Loki::Typelist of Unit types; template parameter BT is defined as for Unit; Composed is derived from a base class ComposeBase, which ties together several Composed units for the same combination of T and CEL; composition may be from any number of NonPrefixable, Prefixed or Composed units.

Definition at line 602 of file Unit.h.


Member Typedef Documentation

template<class BT, class CEL, class UL>
typedef ComposeBase<BT, CEL>::Powers::Powers unit::Composed< ComposeBase< BT, CEL >, UL >::Powers [private]
 

Definition at line 606 of file Unit.h.

template<class BT, class CEL, class UL>
typedef Composed<ComposeBase<BT, CEL>, UL> unit::Composed< ComposeBase< BT, CEL >, UL >::Unit [private]
 

Definition at line 605 of file Unit.h.


Member Function Documentation

template<class BT, class CEL, class UL>
bool const unit::Composed< ComposeBase< BT, CEL >, UL >::isSI void   )  const [inline]
 

whether the unit is an SI unit;

dynamic access.

Definition at line 617 of file Unit.h.

template<class BT, class CEL, class UL>
const bool unit::Composed< ComposeBase< BT, CEL >, UL >::IsSI void   )  [inline, static]
 

report whether the unit is an SI unit.

Definition at line 612 of file Unit.h.

template<class BT, class CEL, class UL>
const std::string unit::Composed< ComposeBase< BT, CEL >, UL >::name void   )  const [inline]
 

return the name of this unit.

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

Definition at line 633 of file Unit.h.

template<class BT, class CEL, class UL>
const std::string unit::Composed< ComposeBase< BT, CEL >, UL >::Name void   )  [inline, static]
 

the name of this unit.

Definition at line 626 of file Unit.h.

template<class BT, class CEL, class UL>
const std::string unit::Composed< ComposeBase< BT, CEL >, UL >::symbol void   )  const [inline]
 

return the symbol of this unit.

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

Definition at line 649 of file Unit.h.

template<class BT, class CEL, class UL>
const std::string unit::Composed< ComposeBase< BT, CEL >, UL >::Symbol void   )  [inline, static]
 

the symbol of this unit;

Definition at line 642 of file Unit.h.


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