8 #ifndef SAXON_XDMFUNCTIONITEM_h
9 #define SAXON_XDMFUNCTIONITEM_h
13 #include "XdmAtomicValue.h"
124 return XDM_FUNCTION_ITEM;
The SaxonProcessor class acts as a factory for generating XQuery, XPath, Schema and XSLT compilers.
Definition: SaxonProcessor.h:119
Definition: XdmFunctionItem.h:23
XdmFunctionItem()
Default constructor for XdmFunctionItem.
Definition: XdmFunctionItem.cpp:10
XDM_TYPE getType()
Definition: XdmFunctionItem.h:123
std::string fname
Definition: XdmFunctionItem.h:137
virtual ~XdmFunctionItem()
Destructor.
Definition: XdmFunctionItem.h:51
bool isFunction()
Determine whether the item is a function or some other type of item.
Definition: XdmFunctionItem.h:132
XdmValue * call(SaxonProcessor *processor, XdmValue **arguments, int argument_length)
Call the function.
Definition: XdmFunctionItem.cpp:105
XdmValue ** createXdmValueArray(int len)
Definition: XdmFunctionItem.h:94
static XdmFunctionItem * getSystemFunction(SaxonProcessor *processor, const char *name, int arity)
Get a system function.
Definition: XdmFunctionItem.cpp:71
bool isAtomic()
Definition: XdmFunctionItem.h:116
const char * getName()
Get the name of the function as EQName.
Definition: XdmFunctionItem.cpp:23
virtual int getArity()
Get the arity of the function.
Definition: XdmFunctionItem.cpp:50
Definition: XdmValue.h:50