| # Gaudi Framework, version v22r4 |

Home |  | Generated: Fri Sep 2 2011

Public Member Functions | Private Member Functions | Private Attributes

# 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 >:
[legend]
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.

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v22r4/GaudiAlg/GaudiAlg/Tuples.h

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines