golib
0.5
|
Function representation (not member function) for functions with 10 arguments. More...
#include <gofunctor.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, Targ9 arg9) |
Function type represented by this class. | |
Public Member Functions | |
goFunction10 (function_t function) | |
virtual Tret | operator() (Targ0 arg0, Targ1 arg1, Targ2 arg2, Targ3 arg3, Targ4 arg4, Targ5 arg5, Targ6 arg6, Targ7 arg7, Targ8 arg8, Targ9 arg9) |
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, Targ9 arg9) const |
virtual goFunctorBase10< Tret, Targ0, Targ1, Targ2, Targ3, Targ4, Targ5, Targ6, Targ7, Targ8, Targ9 > * | createCopy () const |
Function representation (not member function) for functions with 10 arguments.
The first template argument is the return type, the others are argument types.
|
inlinevirtual |
Calls the function set to this functor.
p | Whatever parameter the represented function takes. |
Implements goFunctorBase10< Tret, Targ0, Targ1, Targ2, Targ3, Targ4, Targ5, Targ6, Targ7, Targ8, Targ9 >.