dimension::Dimensionality< Loki::Typelist< Head, Tail > > Struct Template Reference

helper struct: detect dimensionality More...

#include <Dimension.h>

List of all members.

Public Types

enum  { IsDimensionless }
 the return value More...


Detailed Description

template<class Head, class Tail>
struct dimension::Dimensionality< Loki::Typelist< Head, Tail > >

helper struct: detect dimensionality

specialization for a Typelist; recursive template; the numerators of the rational numbers in the typelist are checked; the dimension is dimensionless if the first entry in the typelist has a numerator of 0, and the rest of the typelist also indicates dimensionlessness; i.e., if any numerator is not equal to 0, the dimension is NOT dimensionless.

Definition at line 62 of file Dimension.h.


Member Enumeration Documentation

template<class Head, class Tail>
anonymous enum

the return value

false or 0 if the dimension list indicates a dimension, true or 1 otherwise

Enumerator:
IsDimensionless 

Definition at line 68 of file Dimension.h.


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