Wolframe, 0.0.3

_Wolframe::serialize::CppFormFunctionClosure Class Reference

Closure with calling state of called CppFormFunction. More...

#include <cppFormFunction.hpp>

Inheritance diagram for _Wolframe::serialize::CppFormFunctionClosure:
_Wolframe::langbind::FormFunctionClosure

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...
 
- Public Member Functions inherited from _Wolframe::langbind::FormFunctionClosure
virtual ~FormFunctionClosure ()
 Destructor. More...
 

Private Attributes

const CppFormFunctionm_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::ExecContextm_context
 execution context More...
 

Detailed Description

Closure with calling state of called CppFormFunction.

Constructor & Destructor Documentation

_Wolframe::serialize::CppFormFunctionClosure::CppFormFunctionClosure ( const CppFormFunction f)

Constructor.

Parameters
[in]ffunction called
_Wolframe::serialize::CppFormFunctionClosure::CppFormFunctionClosure ( const CppFormFunctionClosure o)

Copy constructor.

Parameters
[in]ocopied item

Member Function Documentation

bool _Wolframe::serialize::CppFormFunctionClosure::call ( )
virtual

Calls the form function with the input from the input filter specified.

Returns
true when completed

Implements _Wolframe::langbind::FormFunctionClosure.

void _Wolframe::serialize::CppFormFunctionClosure::init ( proc::ExecContext c,
const langbind::TypedInputFilterR i,
serialize::Flags::Enum  flags 
)
virtual

Initialization of call context for a new call.

Parameters
[in]cexecution context reference
[in]icall input
[in]flagsserialization flags depending on context (directmap "strict",lua relaxed)

Implements _Wolframe::langbind::FormFunctionClosure.

virtual langbind::TypedInputFilterR _Wolframe::serialize::CppFormFunctionClosure::result ( ) const
inlinevirtual

Get the result iterator reference of the function call.

Implements _Wolframe::langbind::FormFunctionClosure.

Member Data Documentation

proc::ExecContext* _Wolframe::serialize::CppFormFunctionClosure::m_context
private

execution context

const CppFormFunction* _Wolframe::serialize::CppFormFunctionClosure::m_func
private

the C++ form function implementation

ApiFormData _Wolframe::serialize::CppFormFunctionClosure::m_param_data
private

parameter structure

serialize::StructParser _Wolframe::serialize::CppFormFunctionClosure::m_parser
private

input structure parser

langbind::TypedInputFilterR _Wolframe::serialize::CppFormFunctionClosure::m_result
private

result iterator

ApiFormData _Wolframe::serialize::CppFormFunctionClosure::m_result_data
private

result structure

int _Wolframe::serialize::CppFormFunctionClosure::m_state
private

execution state


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