60 Item(
const Item& aItem) : theItem(aItem.theItem) {}
65 Item(
const zorba::Item& aZItem) : theItem(aZItem) {}
double getDoubleValue() const
Get the int value of the Item.
void close()
Free all resources aquired by this Item.
Iterator getAttributes() const
Get an iterator for the attributes of this (node) Item.
Item getType() const
Get the type of the Item.
int getIntValue() const
Get the int value of the Item.
bool isNull() const
Check if the Item is null.
std::vector< std::pair< std::string, std::string > > getNamespaceBindings()
Get a vector for the namespace bindings of this (element) Item.
This interface represents an instance of the XQuery 1.0 and XPath 2.0 Data Model (XDM).
Using the StaticCollectionManager one can retrieve information about statically declared collections ...
bool getBooleanValue() const
Get the bool value of the boolean Item.
Item()
Default constructor.
void serializeToStream(ZorbaIOStream &aStream) const
Serializes the object.
A Collection is a persistent sequence of node items.
Instances of the class StaticContext contain the information that is available at the time the query ...
Item getParent() const
Get parent of this (node) Item.
This class defines a set of functions for managing persistent collections.
bool getNodeName(Item &aNodeName) const
Get the name of this (node) Item.
Iterator getChildren() const
Get an iterator for the children of this (node) Item.
bool isNaN() const
Check if the value of the Item is not a number (NaN).
The Zorba Item interface.
Item(const Item &aItem)
Copy constructor.
unsigned int getUnsignedIntValue() const
int getNodeKind() const
Get the type of this (node) Item.
Interface for an Iterator over an instance of the XML Data Model (i.e., a sequence of items)...
Instances of the class DynamicContext contain the information that is available at the time the query...
Item getEBV() const
Get the effective boolean value of the Item.
Item(const zorba::Item &aZItem)
Constructor that is used to construct Items in the Zorba engine itself.
bool isNode() const
Check if the Item is a node Item.
bool isAtomic() const
Check if the Item is an atomic Item.
Iterator getAtomizationValue() const
Get the atomization value of the Item.
This class defines a set of values used to define the way a serialization can be made over Items or C...
long long getLongValue() const
Get the long value of the Item.
friend class SingletonIterator
std::string getLocalName() const
Get the value of a QName's local name.
ItemFactory to create Items.
std::string serialize() const
Serializes the object.
std::string getStringValue() const
Get the string value of the Item.
static Item createEmptyItem()
Static constructor.
bool isPosOrNegInf() const
Check if the value of the Item is positive or negative infinity.
std::string getPrefix() const
Get the (optional) value of a QName's prefix.
std::string getNamespace() const
Get the (optional) value of a QName's namespace.