10#ifndef SAXON_XDMVALUE_H
11#define SAXON_XDMVALUE_H
15#include "SaxonProcessor.h"
27typedef enum saxonTypeEnum {
158 if (getenv(
"SAXONC_DEBUG_FLAG")) {
159 std::cerr <<
"getRefCount-xdmVal=" <<
refCount <<
" ob ref=" << (
this)
207 toStringValue =
nullptr;
229 int addXdmItemToValue(
XdmItem *val);
This C header file contains a number of factory functions for running SaxonC C/C++ APIs,...
SaxonCXPath.h provides the C API for XPath processing. This file contains a set of functions to compi...
Definition SaxonProcessor.h:117
Definition XdmAtomicValue.h:26
int values_cap
Definition XdmValue.h:218
virtual int64_t getUnderlyingValue()
Definition XdmValue.cpp:300
void addXdmItemFromUnderlyingValue(XdmItem *val)
Definition XdmValue.cpp:232
void resetRelinquishedItems()
Definition XdmValue.cpp:118
void incrementRefCountForRelinquishedValue(int i)
Definition XdmValue.cpp:270
int refCount
Definition XdmValue.h:220
char * relinquished_values
Definition XdmValue.h:217
int xdmSize
Definition XdmValue.h:219
void addXdmItem(XdmItem *val)
Definition XdmValue.cpp:181
virtual XDM_TYPE getType()
Definition XdmValue.cpp:347
int getRefCount()
Get the number of references on this XdmValue.
Definition XdmValue.h:157
virtual ~XdmValue()
Destructor.
Definition XdmValue.cpp:136
virtual const char * toString()
Create a string representation of the value.
Definition XdmValue.cpp:29
XdmItem ** values
Definition XdmValue.h:216
virtual XdmItem * itemAt(int n)
Get the n'th item in the value, counting from zero.
Definition XdmValue.cpp:336
virtual void incrementRefCount()
Definition XdmValue.cpp:262
XdmValue * addXdmValueWithType(const char *tStr, const char *val)
Add an XdmItem to the sequence.
virtual void decrementRefCount()
Definition XdmValue.cpp:280
virtual XdmItem * getHead()
Get the first item in the sequence.
Definition XdmValue.cpp:290
char * valueType
Definition XdmValue.h:214
void initialize()
initialize this XdmValue with default values
Definition XdmValue.h:202
XdmValue()
A default Constructor.
Definition XdmValue.h:49
void releaseXdmValue()
Definition XdmValue.cpp:326
void addUnderlyingValue(int64_t val)
Definition XdmValue.cpp:238
virtual int size()
Definition XdmValue.cpp:54