Go to the documentation of this file.
22 #ifndef _SOPRANO_MUTEX_MODEL_H_
23 #define _SOPRANO_MUTEX_MODEL_H_
30 class MutexIteratorBase;
73 ReadWriteSingleThreading
111 void removeIterator( MutexIteratorBase* it )
const;
116 friend class MutexIteratorBase;
virtual StatementIterator listStatements(const Statement &partial) const=0
Error::ErrorCode removeAllStatements(const Statement &statement)
QueryResultIterator executeQuery(const QString &query, Query::QueryLanguage language, const QString &userQueryLanguage=QString()) const
virtual bool containsAnyStatement(const Statement &statement) const=0
virtual Error::ErrorCode addStatement(const Statement &statement)=0
A FilterModel is a virtual model that wraps another Model.
virtual bool containsStatement(const Statement &statement) const=0
A Statement instance represents one RDF quadruple.
An iterator for query results.
@ ReadWriteMultiThreading
MutexModel(ProtectionMode mode, Model *parent=0)
virtual Error::ErrorCode removeStatement(const Statement &statement)=0
bool containsStatement(const Statement &statement) const
A Model is the central class in Soprano. It is a queryable collection of RDF quadruples,...
bool containsAnyStatement(const Statement &statement) const
int statementCount() const
An iterator that provides a stream of Statements.
Error::ErrorCode removeStatement(const Statement &statement)
StatementIterator listStatements(const Statement &partial) const
Protect a Model for multiple calls in multi-threaded applications.
An iterator that provides a stream of Nodes.
Error::ErrorCode addStatement(const Statement &statement)
virtual Error::ErrorCode removeAllStatements(const Statement &statement)=0
SOPRANO_EXPORT QUrl language()
NodeIterator listContexts() const