Soprano 2.9.4
|
Interface to a DBus server statement iterator. More...
#include <Soprano/Client/DBusStatementIterator>
Public Member Functions | |
DBusStatementIterator (const QString &serviceName, const QString &dbusObject) | |
Public Member Functions inherited from Soprano::StatementIterator | |
StatementIterator () | |
StatementIterator (IteratorBackend< Statement > *sti) | |
StatementIterator (const StatementIterator &sti) | |
virtual | ~StatementIterator () |
StatementIterator & | operator= (const StatementIterator &) |
QList< Statement > | allStatements () |
NodeIterator | iterateSubjects () const |
NodeIterator | iteratePredicates () const |
NodeIterator | iterateObjects () const |
NodeIterator | iterateContexts () const |
Public Member Functions inherited from Soprano::Iterator< Statement > | |
Iterator () | |
virtual | ~Iterator () |
Iterator & | operator= (const Iterator &) |
void | close () |
bool | next () |
Statement | current () const |
Statement | operator* () const |
bool | isValid () const |
QList< Statement > | allElements () |
Public Member Functions inherited from Soprano::Error::ErrorCache | |
virtual | ~ErrorCache () |
virtual Error | lastError () const |
Additional Inherited Members | |
Protected Member Functions inherited from Soprano::Iterator< Statement > | |
void | setBackend (IteratorBackend< Statement > *b) |
IteratorBackend< Statement > * | backend () const |
Protected Member Functions inherited from Soprano::Error::ErrorCache | |
ErrorCache () | |
void | clearError () const |
void | setError (const Error &) const |
void | setError (const QString &errorMessage, int code=ErrorUnknown) const |
Interface to a DBus server statement iterator.
The DBusStatementIterator provides a fully functional interface to a StatementIterator provided through a Soprano D-Bus server. It can thus, be seen as the counterpart to Server::DBusExportIterator.
Given the DBus service name and the object path of the StatementIterator in question it handles all DBus communication transparently.
Normally there is no need to use this class directly as DBusModel does create instances of it on request.
Definition at line 51 of file dbusstatementiterator.h.
Soprano::Client::DBusStatementIterator::DBusStatementIterator | ( | const QString & | serviceName, |
const QString & | dbusObject ) |
Create a new DBus StatementIterator interface.
serviceName | The name of the DBus service that provides the StatementIterator. |
dbusObject | The path to the StatementIterator object in the DBus service. |