zorba::EmptySequence::InternalIterator

Inherited from: zorba::Iterator

Implements an iterator over the empty sequence. Assuming that the iterator is in the open state, its next() method will always return false.See Iterator.

Private Attributes

bool

theIsOpen

ItemSequence *

theItemSequence

Public Functions

void

addReference() const

void

close()

void

free()

long

getRefCount() const

InternalIterator(ItemSequence *seq)

bool

isOpen() const

bool

next(Item &aItem)

void

open()

void

removeReference()

Protected Attributes

unsigned int

theRefCount

Private Attributes

theIsOpen

bool theIsOpen

theItemSequence

ItemSequence * theItemSequence

Public Functions

addReference

void addReference() const

close

void close()

free

void free()

getRefCount

long getRefCount() const

InternalIterator

 InternalIterator(ItemSequence *seq)

isOpen

bool isOpen() const

next

bool next(Item &aItem)

open

void open()

removeReference

void removeReference()

Protected Attributes

theRefCount

unsigned int theRefCount