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

Dimensions::Dimension< GT > Class Template Reference

the dimension of a quantity More...

#include <Dimension.h>

Inheritance diagram for Dimensions::Dimension< GT >:

Dimensions::Dimensions List of all members.

Public Types

typedef GT::DimTL DimTL

Static Public Attributes

const bool IsDimensionless = Dimensionality<typename GT::DimTL>::IsDimensionless
 does the dimension indicate that the quantity is dimensionless?


Detailed Description

template<class GT>
class Dimensions::Dimension< GT >

the dimension of a quantity

a dimension characterizes physical quantities in terms of the seven base quantities according to SI: length, mass, time, electric current, temperature, amount of substance, and luminous intensity; see Mills et al, 1993, p. 4; a dimension is composed of 7 Rational numbers; these numbers are stored in a typelist as Rational<>; the Dimension template is parametrized a class GT; GT must feature a Typelist DimTL (for example, GT could be the group type of a Quantity), with exactly 7 Rational<> numbers.

Definition at line 157 of file Dimension.h.


Member Data Documentation

template<class GT>
const bool Dimensions::Dimension< GT >::IsDimensionless = Dimensionality<typename GT::DimTL>::IsDimensionless [static]
 

does the dimension indicate that the quantity is dimensionless?

uses the recursive helper template Dimensionality which is invoked on the parametrizing class's DimTL typelist.

Definition at line 167 of file Dimension.h.


The documentation for this class was generated from the following file:
Generated on Sun Jan 15 13:58:00 2006 for Quantity by doxygen 1.3.6