Fluxus::AddOperator Class Reference

#include <PDataArithmetic.h>

Inheritance diagram for Fluxus::AddOperator:

Inheritance graph
[legend]
Collaboration diagram for Fluxus::AddOperator:

Collaboration graph
[legend]

Public Member Functions

 AddOperator ()
template<>
PDataOperate (TypedPData< float > *a, float b)
template<>
PDataOperate (TypedPData< dVector > *a, float b)
template<>
PDataOperate (TypedPData< dVector > *a, dVector b)
template<>
PDataOperate (TypedPData< float > *a, TypedPData< float > *b)
template<>
PDataOperate (TypedPData< dVector > *a, TypedPData< float > *b)
template<>
PDataOperate (TypedPData< dVector > *a, TypedPData< dVector > *b)

Static Public Member Functions

template<class S, class T>
static PDataOperate (TypedPData< S > *a, T b)

Detailed Description

All this template code makes the pdata operators easier to write, as it means the compiler generates a lot of the code for type/function mapping and also all the combinations that an operator doesn't support don't have to be written by hand (the default one returns a warning message). This is admittedly a bit odd and may all be replaced at some point.

Definition at line 38 of file PDataArithmetic.h.


Constructor & Destructor Documentation

Fluxus::AddOperator::AddOperator (  )  [inline]

Definition at line 41 of file PDataArithmetic.h.


Member Function Documentation

template<class S, class T>
static PData* Fluxus::AddOperator::Operate ( TypedPData< S > *  a,
b 
) [inline, static]

Definition at line 44 of file PDataArithmetic.h.

PData * Fluxus::AddOperator::Operate ( TypedPData< float > *  a,
float  b 
)

Definition at line 22 of file PDataArithmetic.cpp.

PData * Fluxus::AddOperator::Operate ( TypedPData< dVector > *  a,
float  b 
)

Definition at line 33 of file PDataArithmetic.cpp.

PData * Fluxus::AddOperator::Operate ( TypedPData< dVector > *  a,
dVector  b 
)

Definition at line 45 of file PDataArithmetic.cpp.

PData * Fluxus::AddOperator::Operate ( TypedPData< float > *  a,
TypedPData< float > *  b 
)

Definition at line 57 of file PDataArithmetic.cpp.

PData * Fluxus::AddOperator::Operate ( TypedPData< dVector > *  a,
TypedPData< float > *  b 
)

Definition at line 64 of file PDataArithmetic.cpp.

PData * Fluxus::AddOperator::Operate ( TypedPData< dVector > *  a,
TypedPData< dVector > *  b 
)

Definition at line 76 of file PDataArithmetic.cpp.


The documentation for this class was generated from the following files:
Generated on Mon Feb 11 06:54:49 2008 for The Fluxus Renderer (libfluxus) by  doxygen 1.5.1