22 #ifndef _SOPRANO_MUTEX_MODEL_H_ 23 #define _SOPRANO_MUTEX_MODEL_H_ 30 class MutexIteratorBase;
73 ReadWriteSingleThreading
98 bool containsStatement(
const Statement &statement )
const;
99 bool containsAnyStatement(
const Statement &statement )
const;
100 bool isEmpty()
const;
101 int statementCount()
const;
111 void removeIterator( MutexIteratorBase* it )
const;
116 friend class MutexIteratorBase;
virtual Error::ErrorCode addStatement(const Statement &statement)
A Statement instance represents one RDF quadruple.
SOPRANO_EXPORT QUrl language()
virtual Error::ErrorCode removeStatement(const Statement &statement)
Error::ErrorCode removeAllStatements()
A FilterModel is a virtual model that wraps another Model.
An iterator for query results.
An iterator that provides a stream of Statements.
Protect a Model for multiple calls in multi-threaded applications.
virtual bool containsStatement(const Statement &statement) const
virtual bool containsAnyStatement(const Statement &statement) const
A Model is the central class in Soprano. It is a queryable collection of RDF quadruples, i.e statements.
StatementIterator listStatements() const
An iterator that provides a stream of Nodes.