Public Member Functions | Protected Attributes
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:
Inheritance graph
[legend]
Collaboration diagram for zorba::ItemSequence:
Collaboration graph
[legend]

List of all members.

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

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.


Constructor & Destructor Documentation

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

Destructor.

Definition at line 36 of file item_sequence.h.


Member Function Documentation

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

Returns:
an iterator over the items
Exceptions:
Throwszerr::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.


Member Data Documentation

unsigned int zorba::SmartObject::theRefCount [mutable, protected, inherited]

Definition at line 27 of file smart_ptr.h.


The documentation for this class was generated from the following file:
blog comments powered by Disqus