Public Member Functions | Protected Attributes | List of all members
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]

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.

Definition at line 30 of file item_sequence.h.

Constructor & Destructor Documentation

virtual zorba::ItemSequence::~ItemSequence ( )
inlinevirtual

Destructor.

Definition at line 36 of file item_sequence.h.

Member Function Documentation

void zorba::SmartObject::addReference ( ) const
inlineinherited

Definition at line 40 of file smart_ptr.h.

virtual void zorba::SmartObject::free ( )
virtualinherited
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
inlineinherited

Definition at line 38 of file smart_ptr.h.

void zorba::SmartObject::removeReference ( )
inlineinherited

Definition at line 42 of file smart_ptr.h.

Member Data Documentation

unsigned int zorba::SmartObject::theRefCount
mutableprotectedinherited

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