Go to the documentation of this file.
22 #ifndef _SOPRANO_READ_ONLY_MODEL_H_
23 #define _SOPRANO_READ_ONLY_MODEL_H_
63 void setParentModel(
Model* model );
83 bool containsStatement(
const Statement &statement )
const;
88 bool containsAnyStatement(
const Statement &statement )
const;
98 int statementCount()
const;
118 Node createBlankNode();
StatementIterator listStatements() const
virtual Error::ErrorCode addStatement(const Statement &statement)=0
A Statement instance represents one RDF quadruple.
virtual Error::ErrorCode removeStatement(const Statement &statement)=0
An iterator for query results.
Error::ErrorCode removeAllStatements()
A Model is the central class in Soprano. It is a queryable collection of RDF quadruples,...
An iterator that provides a stream of Statements.
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.
SOPRANO_EXPORT QUrl language()