3 #ifndef GAUDIALG_TUPLES_H
4 #define GAUDIALG_TUPLES_H 1
8 #include "GaudiAlg/TupleObj.h"
34 template <
class OBJECT,
class ARGUMENT=
double,
class RESULT=
double>
35 class _TupAdapter :
public std::unary_function<ARGUMENT,RESULT>
42 inline RESULT
operator() ( ARGUMENT arg )
const
79 template <
class OBJECT>
80 inline _TupAdapter<OBJECT,double,double>
useFun (
OBJECT object )
81 {
return _TupAdapter<OBJECT,double,double>( 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...
RESULT operator()(ARGUMENT arg) const
the only one essential menthod
A DataObject is the base class of any identifiable object on any data store.
General namespace for Tuple properties.