10#ifndef SAXON_XDMFUNCTIONITEM_h
11#define SAXON_XDMFUNCTIONITEM_h
13#include "XdmAtomicValue.h"
54 if (
fname !=
nullptr) {
103 const char *name,
int arity);
123 int argument_length);
134 XDM_TYPE
getType() {
return XDM_FUNCTION_ITEM; }
Definition SaxonProcessor.h:117
Definition XdmFunctionItem.h:25
const char * getStringValue()
Get the string value of the XdmArray item.
Definition XdmFunctionItem.cpp:120
XdmValue * getXdmValueSubClass(int64_t value)
Definition XdmFunctionItem.cpp:23
XdmFunctionItem()
Default constructor for XdmFunctionItem.
Definition XdmFunctionItem.cpp:13
char * fname
Definition XdmFunctionItem.h:147
XDM_TYPE getType()
Definition XdmFunctionItem.h:134
virtual ~XdmFunctionItem()
Destructor.
Definition XdmFunctionItem.h:53
bool isFunction()
Determine whether the item is a function or some other type of item.
Definition XdmFunctionItem.h:142
XdmValue * call(SaxonProcessor *processor, XdmValue **arguments, int argument_length)
Call the function.
Definition XdmFunctionItem.cpp:125
static XdmFunctionItem * getSystemFunction(SaxonProcessor *processor, const char *name, int arity)
Get a system function.
Definition XdmFunctionItem.cpp:100
XdmValue ** createXdmValueArray(int len)
Definition XdmFunctionItem.h:108
bool isAtomic()
Definition XdmFunctionItem.h:129
const char * getName()
Get the name of the function as EQName.
Definition XdmFunctionItem.cpp:76
virtual int getArity()
Get the arity of the function.
Definition XdmFunctionItem.cpp:87
int64_t value
Definition XdmItem.h:170