![]() |
cppexpose
1.0.0.b785e04f23b8
C++ library for type introspection, reflection, and scripting interface
|
Base class for callable functions or function objects. More...
#include <cppexpose/include/cppexpose/function/AbstractFunction.h>

Public Member Functions | |
| AbstractFunction () | |
| Constructor. More... | |
| virtual | ~AbstractFunction () |
| Destructor. More... | |
| virtual std::unique_ptr< AbstractFunction > | clone ()=0 |
| Create a copy of the function object. More... | |
| virtual Variant | call (const std::vector< Variant > &args)=0 |
| Call function. More... | |
Base class for callable functions or function objects.
| cppexpose::AbstractFunction::AbstractFunction | ( | ) |
Constructor.
|
virtual |
Destructor.
|
pure virtual |
Create a copy of the function object.
Implemented in cppexpose::ConstMemberFunction< T, RET, Arguments >, cppexpose::MemberFunction< T, RET, Arguments >, and cppexpose::StaticFunction< RET, Arguments >.
|
pure virtual |
Call function.
| [in] | args | List of arguments as Variants |
Implemented in cppexpose::ConstMemberFunction< T, RET, Arguments >, cppexpose::MemberFunction< T, RET, Arguments >, and cppexpose::StaticFunction< RET, Arguments >.
1.8.11