Soprano
2.7.2
|
The actual work in a Iterator instance is done by an IteratorBackend. More...
#include <Soprano/IteratorBackend>
Public Member Functions | |
virtual | ~IteratorBackend () |
virtual bool | next ()=0 |
virtual T | current () const =0 |
virtual void | close ()=0 |
Protected Member Functions | |
IteratorBackend () |
The actual work in a Iterator instance is done by an IteratorBackend.
virtual Soprano::IteratorBackend::~IteratorBackend | ( | ) | [inline, virtual] |
Definition at line 42 of file iteratorbackend.h.
Soprano::IteratorBackend::IteratorBackend | ( | ) | [inline, protected] |
Definition at line 79 of file iteratorbackend.h.
virtual bool Soprano::IteratorBackend::next | ( | ) | [pure virtual] |
Advance to the next element in the iterator.
Implementations of this method should reset the error by eith calling clearError() or setError().
Implemented in Soprano::QueryResultIteratorBackend.
virtual T Soprano::IteratorBackend::current | ( | ) | const [pure virtual] |
Get the element the iterator currently points to.
Implementations of this method should reset the error by eith calling clearError() or setError().
Implemented in Soprano::QueryResultIteratorBackend.
virtual void Soprano::IteratorBackend::close | ( | ) | [pure virtual] |
Close the iterator and release any locks on the underlying Model.
Implementations of this method should reset the error by eith calling clearError() or setError().