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 |
zorba::EmptySequence::InternalIterator::InternalIterator | ( | ItemSequence * | item_sequence | ) |
void zorba::SmartObject::addReference | ( | ) | const [inline, inherited] |
Definition at line 40 of file smart_ptr.h.
virtual void zorba::EmptySequence::InternalIterator::close | ( | ) | [virtual] |
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.
Get the next Item of the sequence.
This function returns false with no item.
aItem | not used |
ZorbaException | if 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.
unsigned int zorba::SmartObject::theRefCount [mutable, protected, inherited] |
Definition at line 27 of file smart_ptr.h.