zorba::ExternalFunctionParameter

#include <zorba/external_function_parameter.h>

Instances of subclasses of this abstract class may be used as parameters to the DynamicContext::addExternalFunctionParameter function. This is useful in the implementation of external modules/functions in order to store information between several invocations of the same function.The destroy method is called by Zorba at the end of the execution of an XQuery program, when the corresponding DynamicContext is destroyed.

Public Functions

void

destroy()=0

This function is invoked by Zorba when the DynamicContext that contains the instance is destroyed.

~ExternalFunctionParameter()

Virtual destructor with an empty implementation.

Public Functions

destroy

void destroy()=0

This function is invoked by Zorba when the DynamicContext that contains the instance is destroyed.

This allows the user to release resources. In the simplest case, an implementation might simply call "delete this" to destroy the object.

~ExternalFunctionParameter

 ~ExternalFunctionParameter()

Virtual destructor with an empty implementation.