quantity::Variable< Quantity< QT, ST >, DerivedQuantity< QT, SU, DQT > >::Plus< Q > Struct Template Reference

addition helper More...

#include <Variable.h>

List of all members.

Static Public Member Functions

static V exec (const V &variable, const Q &quantity)


Detailed Description

template<typename QT, typename ST, typename SU, typename DQT>
template<class Q>
struct quantity::Variable< Quantity< QT, ST >, DerivedQuantity< QT, SU, DQT > >::Plus< Q >

addition helper

helper stucture for general left hand side variable object; calls operator+=, which also checks the type of Q for commensurability

Definition at line 885 of file Variable.h.


Member Function Documentation

template<typename QT, typename ST, typename SU, typename DQT>
template<class Q>
static V quantity::Variable< Quantity< QT, ST >, DerivedQuantity< QT, SU, DQT > >::Plus< Q >::exec ( const V variable,
const Q quantity 
) [inline, static]

Definition at line 886 of file Variable.h.


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