Go to the documentation of this file.
22 #ifndef _SOPRANO_READ_ONLY_MODEL_H_
23 #define _SOPRANO_READ_ONLY_MODEL_H_
StatementIterator listStatements() const
virtual Error::ErrorCode addStatement(const Statement &statement)=0
void setParentModel(Model *model)
bool containsAnyStatement(const Statement &statement) const
A Statement instance represents one RDF quadruple.
bool containsStatement(const Statement &statement) const
QueryResultIterator executeQuery(const QString &query, Query::QueryLanguage language, const QString &userQueryLanguage=QString()) const
virtual Error::ErrorCode removeStatement(const Statement &statement)=0
Error::ErrorCode removeAllStatements(const Statement &statement)
An iterator for query results.
Error::ErrorCode removeAllStatements()
StatementIterator listStatements(const Statement &partial) const
NodeIterator listContexts() const
Error::ErrorCode addStatement(const Statement &statement)
A Model is the central class in Soprano. It is a queryable collection of RDF quadruples,...
An iterator that provides a stream of Statements.
int statementCount() const
Error::ErrorCode removeStatement(const Statement &statement)
virtual bool containsStatement(const Statement &statement) const =0
Simple filter model preventing any write operations.
virtual bool containsAnyStatement(const Statement &statement) const =0
An iterator that provides a stream of Nodes.
A Node represents one RDF resource.
ReadOnlyModel(Model *parentModel=0)
SOPRANO_EXPORT QUrl language()