Falcon::CoreIterator Class Reference

Base abstract class for generic collection iterators. More...

#include <citerator.h>

Inheritance diagram for Falcon::CoreIterator:

Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual bool equal (const CoreIterator &other) const =0
virtual bool erase ()=0
virtual void gcMark (uint32 mark)
virtual ItemgetCurrent () 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

Garbageablem_creator
Sequencem_creatorSeq


Detailed Description

Base abstract class for generic collection iterators.

This is also used as internal object for iterators.


Constructor & Destructor Documentation

Falcon::CoreIterator::CoreIterator (  )  [protected]

Falcon::CoreIterator::CoreIterator ( const CoreIterator other  )  [protected]

virtual Falcon::CoreIterator::~CoreIterator (  )  [virtual]


Member Function Documentation

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.


Member Data Documentation


The documentation for this class was generated from the following file:

Generated on Mon Oct 19 10:11:33 2009 for Falcon_Core by  doxygen 1.5.8