zorba::ItemSequence Class Reference

This interface represents an instance of the XQuery 1.0 and XPath 2.0 Data Model (XDM). More...

#include <zorba/item_sequence.h>

Inheritance diagram for zorba::ItemSequence:

zorba::Iterator zorba::ResultIterator

List of all members.

Public Member Functions

virtual bool next (Item &aItem)=0
 Get the next Item of the sequence.
virtual ~ItemSequence ()
 Destructor.


Detailed Description

This interface represents an instance of the XQuery 1.0 and XPath 2.0 Data Model (XDM).

See http://www.w3.org/TR/xpath-datamodel/.

Examples:

external_functions.cpp.

Definition at line 28 of file item_sequence.h.


Constructor & Destructor Documentation

virtual zorba::ItemSequence::~ItemSequence (  )  [inline, virtual]

Destructor.

Definition at line 33 of file item_sequence.h.


Member Function Documentation

virtual bool zorba::ItemSequence::next ( Item aItem  )  [pure virtual]

Get the next Item of the sequence.

Parameters:
aItem the next Item of the sequence if true is returned by the function.
Returns:
true if the sequence is not exhausted, false otherwise.
Exceptions:
ZorbaException if an error occured.

Implemented in zorba::Iterator, and zorba::ResultIterator.

Examples:
external_functions.cpp.


The documentation for this class was generated from the following file: