Gaudi Framework, version v23r5

Home   Generated: Wed Nov 28 2012
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
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>

Inheritance diagram for Tuples::_TupAdapter< OBJECT, ARGUMENT, RESULT >:
Inheritance graph
[legend]
Collaboration diagram for Tuples::_TupAdapter< OBJECT, ARGUMENT, RESULT >:
Collaboration graph
[legend]

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
 

Additional Inherited Members

- Public Types inherited from std::unary_function< ARGUMENT, RESULT >
typedef ARGUMENT argument_type
 
typedef RESULT result_type
 

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.

: 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.

{ 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:

Generated at Wed Nov 28 2012 12:17:44 for Gaudi Framework, version v23r5 by Doxygen version 1.8.2 written by Dimitri van Heesch, © 1997-2004