Soprano
2.9.3
|
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 |
![]() | |
virtual | ~ErrorCache () |
virtual Error | lastError () const |
Protected Member Functions | |
IteratorBackend () | |
![]() | |
ErrorCache () | |
void | clearError () const |
void | setError (const Error &) const |
void | setError (const QString &errorMessage, int code=ErrorUnknown) const |
The actual work in a Iterator instance is done by an IteratorBackend.
Definition at line 39 of file iteratorbackend.h.
|
inlinevirtual |
Definition at line 42 of file iteratorbackend.h.
|
inlineprotected |
Definition at line 79 of file iteratorbackend.h.
|
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.
|
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.
|
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().