golib  0.5
goFunction9< Tret, Targ0, Targ1, Targ2, Targ3, Targ4, Targ5, Targ6, Targ7, Targ8 > Class Template Reference

Function representation (not member function) for functions with 9 arguments. More...

#include <gofunctor2.h>

Public Types

typedef Tret(* function_t) (Targ0 arg0, Targ1 arg1, Targ2 arg2, Targ3 arg3, Targ4 arg4, Targ5 arg5, Targ6 arg6, Targ7 arg7, Targ8 arg8)
 Function type represented by this class.
 
typedef Tret(* function_t) (Targ0 arg0, Targ1 arg1, Targ2 arg2, Targ3 arg3, Targ4 arg4, Targ5 arg5, Targ6 arg6, Targ7 arg7, Targ8 arg8)
 Function type represented by this class.
 

Public Member Functions

 goFunction9 (function_t function)
 
virtual Tret operator() (Targ0 arg0, Targ1 arg1, Targ2 arg2, Targ3 arg3, Targ4 arg4, Targ5 arg5, Targ6 arg6, Targ7 arg7, Targ8 arg8)
 Calls the function set to this functor. More...
 
virtual Tret operator() (Targ0 arg0, Targ1 arg1, Targ2 arg2, Targ3 arg3, Targ4 arg4, Targ5 arg5, Targ6 arg6, Targ7 arg7, Targ8 arg8) const
 
virtual goFunctorBase9< Tret, Targ0, Targ1, Targ2, Targ3, Targ4, Targ5, Targ6, Targ7, Targ8 > * createCopy () const
 
 goFunction9 (function_t function)
 
virtual Tret operator() (Targ0 arg0, Targ1 arg1, Targ2 arg2, Targ3 arg3, Targ4 arg4, Targ5 arg5, Targ6 arg6, Targ7 arg7, Targ8 arg8)
 Calls the function set to this functor. More...
 
virtual Tret operator() (Targ0 arg0, Targ1 arg1, Targ2 arg2, Targ3 arg3, Targ4 arg4, Targ5 arg5, Targ6 arg6, Targ7 arg7, Targ8 arg8) const
 

Detailed Description

template<class Tret, class Targ0, class Targ1, class Targ2, class Targ3, class Targ4, class Targ5, class Targ6, class Targ7, class Targ8>
class goFunction9< Tret, Targ0, Targ1, Targ2, Targ3, Targ4, Targ5, Targ6, Targ7, Targ8 >

Function representation (not member function) for functions with 9 arguments.

The first template argument is the return type, the others are argument types.

Member Function Documentation

◆ operator()() [1/2]

template<class Tret , class Targ0 , class Targ1 , class Targ2 , class Targ3 , class Targ4 , class Targ5 , class Targ6 , class Targ7 , class Targ8 >
virtual Tret goFunction9< Tret, Targ0, Targ1, Targ2, Targ3, Targ4, Targ5, Targ6, Targ7, Targ8 >::operator() ( Targ0  arg0,
Targ1  arg1,
Targ2  arg2,
Targ3  arg3,
Targ4  arg4,
Targ5  arg5,
Targ6  arg6,
Targ7  arg7,
Targ8  arg8 
)
inlinevirtual

Calls the function set to this functor.

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

Implements goFunctorBase9< Tret, Targ0, Targ1, Targ2, Targ3, Targ4, Targ5, Targ6, Targ7, Targ8 >.

◆ operator()() [2/2]

template<class Tret , class Targ0 , class Targ1 , class Targ2 , class Targ3 , class Targ4 , class Targ5 , class Targ6 , class Targ7 , class Targ8 >
virtual Tret goFunction9< Tret, Targ0, Targ1, Targ2, Targ3, Targ4, Targ5, Targ6, Targ7, Targ8 >::operator() ( Targ0  arg0,
Targ1  arg1,
Targ2  arg2,
Targ3  arg3,
Targ4  arg4,
Targ5  arg5,
Targ6  arg6,
Targ7  arg7,
Targ8  arg8 
)
inlinevirtual

Calls the function set to this functor.

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

Implements goFunctorBase9< Tret, Targ0, Targ1, Targ2, Targ3, Targ4, Targ5, Targ6, Targ7, Targ8 >.


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