eyedb::AbstractIterator Class Reference
[eyedb]

The base class of all iterators. More...

#include <AbstractIterator.h>

Inheritance diagram for eyedb::AbstractIterator:

eyedb::ClassIterator eyedb::CollectionIterator eyedb::OQLIterator

List of all members.

Public Member Functions

 AbstractIterator ()
 Constructs an AbstractIterator.
virtual Bool next (Oid &oid)=0
 Go to the next element in the iteration.
virtual Bool next (ObjectPtr &obj, const RecMode *recmode=RecMode::NoRecurs)=0
 Go to the next element in the iteration, specifying the recursion mode.
virtual Bool next (Object *&obj, const RecMode *recmode=RecMode::NoRecurs)=0
 Go to the next element in the iteration, specifying the recursion mode.
virtual Bool next (Value &v)=0
 Go to the next element in the iteration.
virtual ~AbstractIterator ()=0
 Deconstructs an AbstractIterator.

Protected Attributes

Status status


Detailed Description

The base class of all iterators.

Definition at line 45 of file AbstractIterator.h.


Member Function Documentation

virtual Bool eyedb::AbstractIterator::next ( Oid oid  )  [pure virtual]

Go to the next element in the iteration.

Parameters:
oid a reference to an object id that is used to return the next object
Returns:
true if the iterator has more elements

Implemented in eyedb::ClassIterator, eyedb::CollectionIterator, and eyedb::OQLIterator.

virtual Bool eyedb::AbstractIterator::next ( ObjectPtr obj,
const RecMode recmode = RecMode::NoRecurs 
) [pure virtual]

Go to the next element in the iteration, specifying the recursion mode.

Parameters:
obj a reference to a pointer to an Object that is used to return the next object
recmode the recursion mode
Returns:
true if the iterator has more elements

Implemented in eyedb::ClassIterator, eyedb::CollectionIterator, and eyedb::OQLIterator.

virtual Bool eyedb::AbstractIterator::next ( Object *&  obj,
const RecMode recmode = RecMode::NoRecurs 
) [pure virtual]

Go to the next element in the iteration, specifying the recursion mode.

Parameters:
obj a reference to a pointer to an Object that is used to return the next object
recmode the recursion mode
Returns:
true if the iterator has more elements

Implemented in eyedb::ClassIterator, eyedb::CollectionIterator, and eyedb::OQLIterator.

virtual Bool eyedb::AbstractIterator::next ( Value v  )  [pure virtual]

Go to the next element in the iteration.

Parameters:
v a reference to a Value that is used to return the next object
Returns:
true if the iterator has more elements

Implemented in eyedb::ClassIterator, eyedb::CollectionIterator, and eyedb::OQLIterator.


The documentation for this class was generated from the following files:
Generated on Mon Dec 22 18:16:16 2008 for eyedb by  doxygen 1.5.3