An external module represents a group of external functions, all belonging to the same target namespace. More...
#include <zorba/external_module.h>
Public Member Functions | |
virtual void | destroy () |
Function used for destroying the ExternalModule object passed as parameter. | |
virtual ExternalFunction * | getExternalFunction (const String &aLocalname)=0 |
virtual String | getURI () const =0 |
virtual | ~ExternalModule () |
An external module represents a group of external functions, all belonging to the same target namespace.
Class ExternalModule provides the interface for retrieving the target namespace URI and/or the implementation of each contained external function by function name.
An external module can be a library module by itself, or be a component of a library module.
Instances of this class must be implemented by the application and provide storage for the implementations of the external functions. The instances must be registered in the static context in order for the functions to be accessible by a query (see here for more details.).
Definition at line 44 of file external_module.h.
|
inlinevirtual |
Definition at line 47 of file external_module.h.
|
inlinevirtual |
Function used for destroying the ExternalModule object passed as parameter.
The user needs to override this function if the module passed as parameter was created using the createModule function which is used for dynamically loading modules from a shared library.
Definition at line 71 of file external_module.h.
|
pure virtual |
|
pure virtual |