|
| | AnyFunction () |
| |
| | ~AnyFunction () |
| |
| | AnyFunction (const AnyFunction &b) |
| |
| | AnyFunction (FunctionTypeInterface *type, void *value) |
| |
| AnyFunction & | operator= (const AnyFunction &b) |
| |
| AnyReference | call (const AnyReferenceVector &args) |
| | Call the function, reference must be destroy()ed. More...
|
| |
| AnyReference | call (AnyReference arg1, const AnyReferenceVector &args) |
| | Call the function, reference must be destroy()ed. More...
|
| |
| AnyReference | operator() (const AnyReferenceVector &args) |
| | Call the function, reference must be destroy()ed. More...
|
| |
| template<typename R > |
| R | call (qi::AutoAnyReference p1=qi::AutoAnyReference(), qi::AutoAnyReference p2=qi::AutoAnyReference(), qi::AutoAnyReference p3=qi::AutoAnyReference(), qi::AutoAnyReference p4=qi::AutoAnyReference(), qi::AutoAnyReference p5=qi::AutoAnyReference(), qi::AutoAnyReference p6=qi::AutoAnyReference(), qi::AutoAnyReference p7=qi::AutoAnyReference(), qi::AutoAnyReference p8=qi::AutoAnyReference()) |
| | Call the function. More...
|
| |
| template<typename R > |
| AnyReference | operator() (qi::AutoAnyReference p1=qi::AutoAnyReference(), qi::AutoAnyReference p2=qi::AutoAnyReference(), qi::AutoAnyReference p3=qi::AutoAnyReference(), qi::AutoAnyReference p4=qi::AutoAnyReference(), qi::AutoAnyReference p5=qi::AutoAnyReference(), qi::AutoAnyReference p6=qi::AutoAnyReference(), qi::AutoAnyReference p7=qi::AutoAnyReference(), qi::AutoAnyReference p8=qi::AutoAnyReference()) |
| | Call the function, reference must be destroy()ed. More...
|
| |
| const AnyFunction & | dropFirstArgument () const |
| | Change signature, drop the first argument passed to call. More...
|
| |
| const AnyFunction & | replaceFirstArgument (void *value) const |
| | Replace first argument by value which must be storage for correct type. More...
|
| |
| const AnyFunction & | prependArgument (void *value) const |
| | Prepend extra argument value to argument list. More...
|
| |
| std::vector< TypeInterface * > | argumentsType () const |
| | Return expected argument types, taking transform into account. More...
|
| |
| TypeInterface * | resultType () const |
| |
| Signature | parametersSignature (bool dropFirst=false) const |
| |
| Signature | returnSignature () const |
| |
| void | swap (AnyFunction &b) |
| |
| | operator bool () const |
| |
| FunctionTypeInterface * | functionType () const |
| |
| template<typename T > |
| AnyFunction | from (T &&f) |
| |
Represents a generic callable function. This class has value semantic.
Definition at line 149 of file anyfunction.hpp.