src/tools/tPolynomialMarshaler.h File Reference

#include "tPolynomial.h"

Include dependency graph for tPolynomialMarshaler.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  tPolynomialMarshaler< T >
 Marshal a tPolynomial as an input value (var) for "a + b*var + (c + d*var)*t". More...

Defines

#define TPOLYNOMIAL_MARSHALER_DELIMITER   ':'

Functions

template<typename T>
bool operator== (const tPolynomialMarshaler< T > &left, const tPolynomialMarshaler< T > &right)
template<typename T>
bool operator!= (const tPolynomialMarshaler< T > &left, const tPolynomialMarshaler< T > &right)


Define Documentation

#define TPOLYNOMIAL_MARSHALER_DELIMITER   ':'

Referenced by tPolynomialMarshaler< T >::parse().


Function Documentation

template<typename T>
bool operator!= ( const tPolynomialMarshaler< T > &  left,
const tPolynomialMarshaler< T > &  right 
) [inline]

Definition at line 207 of file tPolynomialMarshaler.h.

00208 {
00209   return !(left == right);
00210 }

template<typename T>
bool operator== ( const tPolynomialMarshaler< T > &  left,
const tPolynomialMarshaler< T > &  right 
) [inline]

Definition at line 195 of file tPolynomialMarshaler.h.

References tPolynomialMarshaler< T >::constant, and tPolynomialMarshaler< T >::variant.

00196 {
00197   bool res = true;
00198   
00199   res = (left.constant == right.constant)
00200      && (left.variant == right.variant);
00201   
00202   return res;
00203 }


Generated on Sat Mar 15 23:12:13 2008 for Armagetron Advanced by  doxygen 1.5.4