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

List of all members.

Public Member Functions

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

Protected Attributes

unsigned int theRefCount

Constructor & Destructor Documentation

zorba::SingletonItemSequence::InternalIterator::InternalIterator ( SingletonItemSequence item_sequence)

Member Function Documentation

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

Definition at line 40 of file smart_ptr.h.

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

Close the iterator.

You can call close and open to reset the iterator.

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::SingletonItemSequence::InternalIterator::isOpen ( ) const [virtual]

brief Check whether the iterator is open or not

Implements zorba::Iterator.

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

Get the one Item.

Parameters:
aItemthe Item if true is returned by the function.
Returns:
true if the sequence is not exhausted, false otherwise.
Exceptions:
ZorbaExceptionif iterator is not open or an error occured.

Implements zorba::Iterator.

virtual void zorba::SingletonItemSequence::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