Closure with calling state of called CppFormFunction. More...
#include <cppFormFunction.hpp>
Public Member Functions | |
CppFormFunctionClosure (const CppFormFunction &f) | |
Constructor. More... | |
CppFormFunctionClosure (const CppFormFunctionClosure &o) | |
Copy constructor. More... | |
bool | call () |
Calls the form function with the input from the input filter specified. More... | |
void | init (proc::ExecContext *c, const langbind::TypedInputFilterR &i, serialize::Flags::Enum flags) |
Initialization of call context for a new call. More... | |
virtual langbind::TypedInputFilterR | result () const |
Get the result iterator reference of the function call. More... | |
![]() | |
virtual | ~FormFunctionClosure () |
Destructor. More... | |
Private Attributes | |
const CppFormFunction * | m_func |
the C++ form function implementation More... | |
int | m_state |
execution state More... | |
ApiFormData | m_param_data |
parameter structure More... | |
ApiFormData | m_result_data |
result structure More... | |
langbind::TypedInputFilterR | m_result |
result iterator More... | |
serialize::StructParser | m_parser |
input structure parser More... | |
proc::ExecContext * | m_context |
execution context More... | |
Closure with calling state of called CppFormFunction.
_Wolframe::serialize::CppFormFunctionClosure::CppFormFunctionClosure | ( | const CppFormFunction & | f | ) |
Constructor.
[in] | f | function called |
_Wolframe::serialize::CppFormFunctionClosure::CppFormFunctionClosure | ( | const CppFormFunctionClosure & | o | ) |
Copy constructor.
[in] | o | copied item |
|
virtual |
Calls the form function with the input from the input filter specified.
Implements _Wolframe::langbind::FormFunctionClosure.
|
virtual |
Initialization of call context for a new call.
[in] | c | execution context reference |
[in] | i | call input |
[in] | flags | serialization flags depending on context (directmap "strict",lua relaxed) |
Implements _Wolframe::langbind::FormFunctionClosure.
|
inlinevirtual |
Get the result iterator reference of the function call.
Implements _Wolframe::langbind::FormFunctionClosure.
|
private |
execution context
|
private |
the C++ form function implementation
|
private |
parameter structure
|
private |
input structure parser
|
private |
result iterator
|
private |
result structure
|
private |
execution state
Copyright © 2014 - Project Wolframe - All Rights Reserved