zorba::EmptySequence

#include <zorba/empty_sequence.h>

Inherited from: zorba::ItemSequence

This class is an implementation of the ItemSequence. Objects of this class represent the empty sequence.See ItemSequence

Public Functions

void

addReference() const

EmptySequence()

void

free()

Iterator_t

getIterator()

Create an iterator over the items of this sequence.

long

getRefCount() const

void

removeReference()

~EmptySequence()

Protected Attributes

unsigned int

theRefCount

Public Functions

addReference

void addReference() const

EmptySequence

 EmptySequence()

free

void free()

getIterator

Iterator_t getIterator()

Create an iterator over the items of this sequence.

The life time of the iterator shouldnot exceed the life time of this item sequence.

Returns

an iterator over the items

Parameters

Throws zerr::ZAPI0039 if the implementation of the associated ItemSequence does not allow more than one iterator to be created.

getRefCount

long getRefCount() const

removeReference

void removeReference()

~EmptySequence

 ~EmptySequence()

Protected Attributes

theRefCount

unsigned int theRefCount