3 #ifndef GAUDIALG_TUPLES_H
4 #define GAUDIALG_TUPLES_H 1
34 template <
class OBJECT,
class ARGUMENT=
double,
class RESULT=
double>
35 class _TupAdapter :
public std::unary_function<ARGUMENT,RESULT>
79 template <
class OBJECT>
85 #endif // GAUDIALG_TUPLES_H
_TupAdapter< OBJECT, double, double > useFun(OBJECT object)
trivial helper function to convert on flight pointer to function into "functor" It is especially usef...
Header file for class TupleObj.
RESULT operator()(ARGUMENT arg) const
the only one essential menthod
Trivial adapter to avoid the GCC problem (pointer to the function is never evaluated as "const TYPE&"...
_TupAdapter(OBJECT object)
A DataObject is the base class of any identifiable object on any data store.