Jive reference manual
|
#include <jem/util/SequenceEnumerator.h>
Public Member Functions | |
virtual bool | atBegin () const =0 |
virtual void | toNext () |
Advances this enumerator to the next object. More... | |
virtual void | toPrevious () |
virtual void | move (idx_t count)=0 |
virtual void | set (const Ref< Object > &obj)=0 |
virtual void | insert (const Ref< Object > &obj)=0 |
virtual void | erase ()=0 |
Public Member Functions inherited from jem::util::Enumerator | |
virtual Class * | getClass () const |
Returns the Class instance representing the runtime class of this object. More... | |
virtual bool | atEnd () const =0 |
Checks whether this enumerator points to an end object. More... | |
virtual Ref< Object > | get () const =0 |
Returns the current object. More... | |
Public Member Functions inherited from jem::Object | |
virtual String | toString () const |
Returns a short textual description of this object. More... | |
virtual long | hashValue () const |
Returns a hash value for this object. More... | |
virtual bool | equals (const Ref< Object > &obj) const |
Tests whether two objects are equal. More... | |
Ref< Object > | clone () const |
Returns a copy of this object. More... | |
Protected Member Functions | |
virtual | ~SequenceEnumerator () |
void | writeError_ () const |
void | moveError_ (idx_t count) const |
void | atEndError_ () const |
Protected Member Functions inherited from jem::util::Enumerator | |
virtual | ~Enumerator () |
Protected Member Functions inherited from jem::Collectable | |
Collectable () | |
Creates an empty Collectable . More... | |
~Collectable () | |
Frees resources. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from jem::util::Enumerator | |
static Class * | makeClass () |
static Class * | getType () |
Static Public Member Functions inherited from jem::Object | |
static Class * | getType () |
Returns the Class instance representing the Object class. More... | |
|
protectedvirtual |
|
pure virtual |
|
virtual |
Advances this enumerator to the next object in the collection, or to the end object if there is no next object. This function may not be called if this enumerator already points to the end object.
this->atEnd() == false
Implements jem::util::Enumerator.
|
virtual |
|
pure virtual |
|
pure virtual |
|
protected |
|
protected |
|
protected |