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

quantity::CheckDimensionality< Q > Struct Template Reference

helper struct, check whether quantity Q is dimensionless More...

#include <Quantity.h>

List of all members.

Static Public Attributes

const bool RET
 pseudo return value


Detailed Description

template<class Q>
struct quantity::CheckDimensionality< Q >

helper struct, check whether quantity Q is dimensionless

produce compile time error if Q is NOT dimensionless, when trying to expand DimensionError<true>, which is not defined; RET is a boolean constant which is set to true if Q is dimensionless.

Definition at line 292 of file Quantity.h.


Member Data Documentation

template<class Q>
const bool quantity::CheckDimensionality< Q >::RET [static]
 

Initial value:

        BSUtilities::IF<Q::Dim::IsDimensionless DimensionError<false> 
                                       DimensionError<true> >::RET::RET
pseudo return value

set to true if Q is dimensionless

Definition at line 298 of file Quantity.h.


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