The ContextualExternalFunction class serves as the base of subclasses that represent the implementation of contextual external functions. More...
#include <zorba/function.h>


Public Types | |
| typedef std::vector < ItemSequence * > | Arguments_t |
Public Member Functions | |
| virtual ItemSequence_t | evaluate (const Arguments_t &, const StaticContext *, const DynamicContext *) const =0 |
| virtual String | getLocalName () const =0 |
| virtual String | getURI () const =0 |
| bool | isContextual () const |
| virtual | ~ContextualExternalFunction () |
The ContextualExternalFunction class serves as the base of subclasses that represent the implementation of contextual external functions.
For each external function, an application must provide a concrete subclass of this class and "store" an instance of the subclass inside an ExternalModule object, as described here.
Definition at line 207 of file function.h.
typedef std::vector<ItemSequence*> zorba::ExternalFunction::Arguments_t [inherited] |
Definition at line 151 of file function.h.
| virtual zorba::ContextualExternalFunction::~ContextualExternalFunction | ( | ) | [inline, virtual] |
Definition at line 210 of file function.h.
| virtual ItemSequence_t zorba::ContextualExternalFunction::evaluate | ( | const Arguments_t & | , |
| const StaticContext * | , | ||
| const DynamicContext * | |||
| ) | const [pure virtual] |
| virtual String zorba::ExternalFunction::getLocalName | ( | ) | const [pure virtual, inherited] |
| virtual String zorba::ExternalFunction::getURI | ( | ) | const [pure virtual, inherited] |
| bool zorba::ContextualExternalFunction::isContextual | ( | ) | const [inline, virtual] |
Implements zorba::ExternalFunction.
Definition at line 219 of file function.h.