Public Member Functions | Protected Attributes
zorba::EmptySequence::InternalIterator Class Reference
Inheritance diagram for zorba::EmptySequence::InternalIterator:
Inheritance graph
[legend]
Collaboration diagram for zorba::EmptySequence::InternalIterator:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void addReference () const
virtual void close ()
 Stop iterating.
virtual void free ()
long getRefCount () const
 InternalIterator (ItemSequence *item_sequence)
virtual bool isOpen () const
 brief Check whether the iterator is open or not
virtual bool next (Item &aItem)
 Get the next Item of the sequence.
virtual void open ()
 Start iterating.
void removeReference ()

Protected Attributes

unsigned int theRefCount

Constructor & Destructor Documentation

zorba::EmptySequence::InternalIterator::InternalIterator ( ItemSequence item_sequence)

Member Function Documentation

void zorba::SmartObject::addReference ( ) const [inline, inherited]

Definition at line 40 of file smart_ptr.h.

virtual void zorba::EmptySequence::InternalIterator::close ( ) [virtual]

Stop iterating.

Not mandatory.

Implements zorba::Iterator.

virtual void zorba::SmartObject::free ( ) [virtual, inherited]
long zorba::SmartObject::getRefCount ( ) const [inline, inherited]

Definition at line 38 of file smart_ptr.h.

virtual bool zorba::EmptySequence::InternalIterator::isOpen ( ) const [virtual]

brief Check whether the iterator is open or not

Implements zorba::Iterator.

virtual bool zorba::EmptySequence::InternalIterator::next ( Item aItem) [virtual]

Get the next Item of the sequence.

This function returns false with no item.

Parameters:
aItemnot used
Returns:
false always
Exceptions:
ZorbaExceptionif iterator is not open.

Implements zorba::Iterator.

virtual void zorba::EmptySequence::InternalIterator::open ( ) [virtual]

Start iterating.

This function needs to be called before calling next().

Implements zorba::Iterator.

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