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

Dimensions::Dimension< GT >::Add< GT1 > Struct Template Reference

combine two dimensions additively More...

#include <Dimension.h>

List of all members.

Public Types

typedef Dimension< ClassRET
 resulting Dimension


Private Types

typedef BSUtilities::RationalAdd<
typename Loki::TL::TypeAt<
typename GT::DimTL,
0 >::Result, typename Loki::TL::TypeAt<
typename GT1::DimTL,
0 >::Result >::RET 
A0
typedef BSUtilities::RationalAdd<
typename Loki::TL::TypeAt<
typename GT::DimTL,
1 >::Result, typename Loki::TL::TypeAt<
typename GT1::DimTL,
1 >::Result >::RET 
A1
typedef BSUtilities::RationalAdd<
typename Loki::TL::TypeAt<
typename GT::DimTL,
2 >::Result, typename Loki::TL::TypeAt<
typename GT1::DimTL,
2 >::Result >::RET 
A2
typedef BSUtilities::RationalAdd<
typename Loki::TL::TypeAt<
typename GT::DimTL,
3 >::Result, typename Loki::TL::TypeAt<
typename GT1::DimTL,
3 >::Result >::RET 
A3
typedef BSUtilities::RationalAdd<
typename Loki::TL::TypeAt<
typename GT::DimTL,
4 >::Result, typename Loki::TL::TypeAt<
typename GT1::DimTL,
4 >::Result >::RET 
A4
typedef BSUtilities::RationalAdd<
typename Loki::TL::TypeAt<
typename GT::DimTL,
5 >::Result, typename Loki::TL::TypeAt<
typename GT1::DimTL,
5 >::Result >::RET 
A5
typedef BSUtilities::RationalAdd<
typename Loki::TL::TypeAt<
typename GT::DimTL,
6 >::Result, typename Loki::TL::TypeAt<
typename GT1::DimTL,
6 >::Result >::RET 
A6


Detailed Description

template<class GT>
template<class GT1>
struct Dimensions::Dimension< GT >::Add< GT1 >

combine two dimensions additively

this compile time function adds the corresponding Rationals in the dimension stored in members DimTL of group types GT and GT1.

Definition at line 174 of file Dimension.h.


Member Typedef Documentation

template<class GT>
template<class GT1>
typedef Dimension<Class> Dimensions::Dimension< GT >::Add< GT1 >::RET
 

resulting Dimension

return value in the form of a Dimension<> using the Class class.

Definition at line 227 of file Dimension.h.


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