zorba::ExternalModule#include <zorba/external_module.h> 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.).Public Functions
Public Functionsdestroyvoid destroy() 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. getExternalFunctionExternalFunction * getExternalFunction(const String &aLocalname)=0
Returnsthe implementation of the function with the given name.~ExternalModule ~ExternalModule()
|