Soprano  2.9.4
Public Member Functions | List of all members
Soprano::Client::DBusStatementIterator Class Reference

Interface to a DBus server statement iterator. More...

#include <Soprano/Client/DBusStatementIterator>

+ Inheritance diagram for 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 ()
 
StatementIteratoroperator= (const StatementIterator &)
 
QList< StatementallStatements ()
 
NodeIterator iterateSubjects () const
 
NodeIterator iteratePredicates () const
 
NodeIterator iterateObjects () const
 
NodeIterator iterateContexts () const
 
- Public Member Functions inherited from Soprano::Iterator< Statement >
 Iterator ()
 
 Iterator (IteratorBackend< Statement > *sti)
 
 Iterator (const Iterator &sti)
 
virtual ~Iterator ()
 
Iteratoroperator= (const Iterator &)
 
void close ()
 
bool next ()
 
Statement current () const
 
Statement operator* () const
 
bool isValid () const
 
QList< StatementallElements ()
 
- 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
 

Detailed Description

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.

Author
Sebastian Trueg trueg.nosp@m.@kde.nosp@m..org
See also
Soprano D-Bus Interface
Since
2.1

Definition at line 51 of file dbusstatementiterator.h.

Constructor & Destructor Documentation

Soprano::Client::DBusStatementIterator::DBusStatementIterator ( const QString serviceName,
const QString dbusObject 
)

Create a new DBus StatementIterator interface.

Parameters
serviceNameThe name of the DBus service that provides the StatementIterator.
dbusObjectThe path to the StatementIterator object in the DBus service.

The documentation for this class was generated from the following file: