The base class of all iterators. More...
#include <AbstractIterator.h>
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. |
The base class of all iterators.
Definition at line 45 of file AbstractIterator.h.
virtual Bool eyedb::AbstractIterator::next | ( | Value & | v | ) | [pure virtual] |
Go to the next element in the iteration.
v | a reference to a Value that is used to return the next object |
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.
obj | a reference to a pointer to an Object that is used to return the next object | |
recmode | the recursion mode |
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.
obj | a reference to a pointer to an Object that is used to return the next object | |
recmode | the recursion mode |
Implemented in eyedb::ClassIterator, eyedb::CollectionIterator, and eyedb::OQLIterator.
virtual Bool eyedb::AbstractIterator::next | ( | Oid & | oid | ) | [pure virtual] |
Go to the next element in the iteration.
oid | a reference to an object id that is used to return the next object |
Implemented in eyedb::ClassIterator, eyedb::CollectionIterator, and eyedb::OQLIterator.