Soprano 2.9.4
|
Interface to a DBus server node iterator. More...
#include <Soprano/Client/DBusNodeIterator>
Public Member Functions | |
DBusNodeIterator (const QString &serviceName, const QString &dbusObject) | |
Public Member Functions inherited from Soprano::NodeIterator | |
NodeIterator () | |
NodeIterator (IteratorBackend< Node > *sti) | |
NodeIterator (const NodeIterator &sti) | |
virtual | ~NodeIterator () |
NodeIterator & | operator= (const NodeIterator &) |
QList< Node > | allNodes () |
Public Member Functions inherited from Soprano::Iterator< Node > | |
Iterator () | |
virtual | ~Iterator () |
Iterator & | operator= (const Iterator &) |
void | close () |
bool | next () |
Node | current () const |
Node | operator* () const |
bool | isValid () const |
QList< Node > | 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< Node > | |
void | setBackend (IteratorBackend< Node > *b) |
IteratorBackend< Node > * | 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 node iterator.
The DBusNodeIterator provides a fully functional interface to a NodeIterator 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 NodeIterator 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 dbusnodeiterator.h.
Soprano::Client::DBusNodeIterator::DBusNodeIterator | ( | const QString & | serviceName, |
const QString & | dbusObject ) |
Create a new DBus NodeIterator interface.
serviceName | The name of the DBus service that provides the NodeIterator. |
dbusObject | The path to the NodeIterator object in the DBus service. |