This interface represents an instance of the XQuery 1.0 and XPath 2.0 Data Model (XDM). More...
#include <zorba/item_sequence.h>
Public Member Functions | |
void | addReference () const |
virtual void | free () |
virtual Iterator_t | getIterator ()=0 |
get the Iterator over the items | |
long | getRefCount () const |
void | removeReference () |
virtual | ~ItemSequence () |
Destructor. | |
Protected Attributes | |
unsigned int | theRefCount |
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/.
virtual zorba::ItemSequence::~ItemSequence | ( | ) | [inline, virtual] |
Destructor.
Definition at line 36 of file item_sequence.h.
void zorba::SmartObject::addReference | ( | ) | const [inline, inherited] |
Definition at line 40 of file smart_ptr.h.
virtual void zorba::SmartObject::free | ( | ) | [virtual, inherited] |
virtual Iterator_t zorba::ItemSequence::getIterator | ( | ) | [pure virtual] |
get the Iterator over the items
Throws | zerr::ZAPI0039 if the implementation of the associated ItemSequence does not allow more than one iterator to be created. |
Implemented in zorba::VectorItemSequence, zorba::SingletonItemSequence, and zorba::EmptySequence.
long zorba::SmartObject::getRefCount | ( | ) | const [inline, inherited] |
Definition at line 38 of file smart_ptr.h.
void zorba::SmartObject::removeReference | ( | ) | [inline, inherited] |
Definition at line 42 of file smart_ptr.h.
unsigned int zorba::SmartObject::theRefCount [mutable, protected, inherited] |
Definition at line 27 of file smart_ptr.h.