#include <citerator.h>
Public Member Functions | |
virtual bool | equal (const CoreIterator &other) const =0 |
virtual bool | erase ()=0 |
virtual void | gcMark (uint32 mark) |
virtual Item & | getCurrent () const =0 |
Must be called after an isValid() check. | |
virtual bool | hasNext () const =0 |
virtual bool | hasPrev () const =0 |
virtual bool | insert (const Item &item)=0 |
virtual void | invalidate ()=0 |
virtual bool | isOwner (void *collection) const =0 |
virtual bool | isValid () const =0 |
virtual bool | next ()=0 |
virtual bool | prev ()=0 |
virtual void | setOwner (Sequence *owner) |
virtual void | setOwner (Garbageable *owner) |
On all the non-temporary iterators use this!!! Creates a local copy of the VM item to which this iterator refers to. | |
virtual | ~CoreIterator () |
Protected Member Functions | |
CoreIterator (const CoreIterator &other) | |
CoreIterator () | |
Protected Attributes | |
Garbageable * | m_creator |
Sequence * | m_creatorSeq |
This is also used as internal object for iterators.
Falcon::CoreIterator::CoreIterator | ( | ) | [protected] |
Falcon::CoreIterator::CoreIterator | ( | const CoreIterator & | other | ) | [protected] |
virtual Falcon::CoreIterator::~CoreIterator | ( | ) | [virtual] |
virtual bool Falcon::CoreIterator::equal | ( | const CoreIterator & | other | ) | const [pure virtual] |
virtual bool Falcon::CoreIterator::erase | ( | ) | [pure virtual] |
virtual void Falcon::CoreIterator::gcMark | ( | uint32 | mark | ) | [virtual] |
Implements Falcon::FalconData.
virtual Item& Falcon::CoreIterator::getCurrent | ( | ) | const [pure virtual] |
Must be called after an isValid() check.
virtual bool Falcon::CoreIterator::hasNext | ( | ) | const [pure virtual] |
virtual bool Falcon::CoreIterator::hasPrev | ( | ) | const [pure virtual] |
virtual bool Falcon::CoreIterator::insert | ( | const Item & | item | ) | [pure virtual] |
virtual void Falcon::CoreIterator::invalidate | ( | ) | [pure virtual] |
virtual bool Falcon::CoreIterator::isOwner | ( | void * | collection | ) | const [pure virtual] |
virtual bool Falcon::CoreIterator::isValid | ( | ) | const [pure virtual] |
virtual bool Falcon::CoreIterator::next | ( | ) | [pure virtual] |
virtual bool Falcon::CoreIterator::prev | ( | ) | [pure virtual] |
virtual void Falcon::CoreIterator::setOwner | ( | Sequence * | owner | ) | [virtual] |
virtual void Falcon::CoreIterator::setOwner | ( | Garbageable * | owner | ) | [virtual] |
On all the non-temporary iterators use this!!! Creates a local copy of the VM item to which this iterator refers to.
The owner is marked on GC mark, so it stays alive as long as at least one iterator points to it.
Garbageable* Falcon::CoreIterator::m_creator [protected] |
Sequence* Falcon::CoreIterator::m_creatorSeq [protected] |