| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

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 <Tuples.h>

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

[legend]
List of all members.

Public Member Functions

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

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.Belyaev@lapp.in2p3.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.

00039 : m_object ( object ) {} ;

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.

00043     { return m_object( arg )  ; }


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:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 19:58:23 2011 for GaudiAlg by doxygen 1.4.7