All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Tuples::_TupAdapter< OBJECT, ARGUMENT, RESULT > Class Template Reference

Trivial adapter to avoid the GCC problem (pointer to the function is never evaluated as "const TYPE&" ) More...

#include <GaudiAlg/Tuples.h>

Inheritance diagram for Tuples::_TupAdapter< OBJECT, ARGUMENT, RESULT >:
Collaboration diagram for Tuples::_TupAdapter< OBJECT, ARGUMENT, RESULT >:

Public Member Functions

 _TupAdapter (OBJECT object)
 
RESULT operator() (ARGUMENT arg) const
 the only one essential menthod More...
 

Private Member Functions

 _TupAdapter ()
 

Private Attributes

OBJECT m_object
 

Detailed Description

template<class OBJECT, class ARGUMENT = double, class RESULT = double>
class Tuples::_TupAdapter< OBJECT, ARGUMENT, RESULT >

Trivial adapter to avoid the GCC problem (pointer to the function is never evaluated as "const TYPE&" )

Author
Vanya BELYAEV Ivan..nosp@m.Bely.nosp@m.aev@l.nosp@m.app..nosp@m.in2p3.nosp@m..fr
Date
2005-05-01

Definition at line 35 of file Tuples.h.

Constructor & Destructor Documentation

template<class OBJECT , class ARGUMENT = double, class RESULT = double>
Tuples::_TupAdapter< OBJECT, ARGUMENT, RESULT >::_TupAdapter ( OBJECT  object)
inline

Definition at line 39 of file Tuples.h.

39 : m_object ( object ) {} ;
OBJECT m_object
Definition: Tuples.h:48
template<class OBJECT , class ARGUMENT = double, class RESULT = double>
Tuples::_TupAdapter< OBJECT, ARGUMENT, RESULT >::_TupAdapter ( )
private

Member Function Documentation

template<class OBJECT , class ARGUMENT = double, class RESULT = double>
RESULT Tuples::_TupAdapter< OBJECT, ARGUMENT, RESULT >::operator() ( ARGUMENT  arg) const
inline

the only one essential menthod

Definition at line 42 of file Tuples.h.

43  { return m_object( arg ) ; }
OBJECT m_object
Definition: Tuples.h:48

Member Data Documentation

template<class OBJECT , class ARGUMENT = double, class RESULT = double>
OBJECT Tuples::_TupAdapter< OBJECT, ARGUMENT, RESULT >::m_object
private

Definition at line 48 of file Tuples.h.


The documentation for this class was generated from the following file: