golib  0.5
goFunctor5< Tret, Tclass, Targ0, Targ1, Targ2, Targ3, Targ4 > Class Template Reference

Member function representation for class members with 5 arguments. More...

#include <gofunctor2.h>

Public Types

typedef Tret(Tclass::* function_t) (Targ0 arg0, Targ1 arg1, Targ2 arg2, Targ3 arg3, Targ4 arg4)
 Function type represented by this class.
 
typedef Tret(Tclass::* function_t) (Targ0 arg0, Targ1 arg1, Targ2 arg2, Targ3 arg3, Targ4 arg4)
 Function type represented by this class.
 

Public Member Functions

 goFunctor5 (Tclass *object, function_t function)
 
virtual Tret operator() (Targ0 arg0, Targ1 arg1, Targ2 arg2, Targ3 arg3, Targ4 arg4)
 Calls the function set to this functor. More...
 
virtual Tret operator() (Targ0 arg0, Targ1 arg1, Targ2 arg2, Targ3 arg3, Targ4 arg4) const
 
virtual goFunctorBase5< Tret, Targ0, Targ1, Targ2, Targ3, Targ4 > * createCopy () const
 
 goFunctor5 (Tclass *object, function_t function)
 
virtual Tret operator() (Targ0 arg0, Targ1 arg1, Targ2 arg2, Targ3 arg3, Targ4 arg4)
 Calls the function set to this functor. More...
 
virtual Tret operator() (Targ0 arg0, Targ1 arg1, Targ2 arg2, Targ3 arg3, Targ4 arg4) const
 

Detailed Description

template<class Tret, class Tclass, class Targ0, class Targ1, class Targ2, class Targ3, class Targ4>
class goFunctor5< Tret, Tclass, Targ0, Targ1, Targ2, Targ3, Targ4 >

Member function representation for class members with 5 arguments.

The first template argument is the return type, the second is the class type, the others are member function argument types.

Member Function Documentation

◆ operator()() [1/2]

template<class Tret , class Tclass , class Targ0 , class Targ1 , class Targ2 , class Targ3 , class Targ4 >
virtual Tret goFunctor5< Tret, Tclass, Targ0, Targ1, Targ2, Targ3, Targ4 >::operator() ( Targ0  arg0,
Targ1  arg1,
Targ2  arg2,
Targ3  arg3,
Targ4  arg4 
)
inlinevirtual

Calls the function set to this functor.

Parameters
pWhatever parameter the represented function takes.
Returns
Whatever the set function returns.

Implements goFunctorBase5< Tret, Targ0, Targ1, Targ2, Targ3, Targ4 >.

◆ operator()() [2/2]

template<class Tret , class Tclass , class Targ0 , class Targ1 , class Targ2 , class Targ3 , class Targ4 >
virtual Tret goFunctor5< Tret, Tclass, Targ0, Targ1, Targ2, Targ3, Targ4 >::operator() ( Targ0  arg0,
Targ1  arg1,
Targ2  arg2,
Targ3  arg3,
Targ4  arg4 
)
inlinevirtual

Calls the function set to this functor.

Parameters
pWhatever parameter the represented function takes.
Returns
Whatever the set function returns.

Implements goFunctorBase5< Tret, Targ0, Targ1, Targ2, Targ3, Targ4 >.


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