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();
virtual Error::ErrorCode addStatement(const Statement &statement)=0
A Node represents one RDF resource.
virtual Error::ErrorCode removeStatement(const Statement &statement)=0
A Statement instance represents one RDF quadruple.
SOPRANO_EXPORT QUrl language()
Error::ErrorCode removeAllStatements()
An iterator for query results.
An iterator that provides a stream of Statements.
virtual bool containsStatement(const Statement &statement) const =0
virtual bool containsAnyStatement(const Statement &statement) const =0
A Model is the central class in Soprano. It is a queryable collection of RDF quadruples, i.e statements.
StatementIterator listStatements() const
Simple filter model preventing any write operations.
An iterator that provides a stream of Nodes.