10#ifndef SAXON_XDMATOMICVALUE_h
11#define SAXON_XDMATOMICVALUE_h
13#include "saxonc_export.h"
14#include "saxonc/XdmItem.h"
131 XDM_TYPE
getType() {
return XDM_ATOMIC_VALUE; }
SAXONC_EXPORT bool getBooleanValue(sxnc_environment *environi, sxnc_value value)
Get the boolean value of the item.
Definition SaxonCXPath.c:321
SAXONC_EXPORT long getLongValue(sxnc_environment *environi, sxnc_value value, long failureVal)
Get the long value of the item.
Definition SaxonCXPath.c:326
SAXONC_EXPORT double getDoubleValue(sxnc_environment *environi, sxnc_value value, double failureVal)
Get the double value of the item.
Definition SaxonCXPath.c:338
void setType(const char *ty)
Set the type annotation of the atomic value.
Definition XdmAtomicValue.cpp:33
XdmAtomicValue()
Default constructor.
Definition XdmAtomicValue.cpp:6
const char * getPrimitiveTypeName()
Get the primitive type of this atomic value, as a QName.
Definition XdmAtomicValue.cpp:35
bool isAtomic()
Determine whether the item is an atomic value or some other type of item.
Definition XdmAtomicValue.h:119
XDM_TYPE getType()
Get the type of this XDM value.
Definition XdmAtomicValue.h:131
XdmItem()
Default constructor.
Definition XdmItem.cpp:5
virtual XdmItem * getHead()
Get the first item in the sequence consisting of just this item.
Definition XdmItem.cpp:41