22 #ifndef SOPRANO_GRAPH_H 23 #define SOPRANO_GRAPH_H 25 #include <QtCore/QList> 26 #include <QtCore/QSharedDataPointer> 27 #include <QtCore/QDebug> 38 class StatementIterator;
91 void addStatement(
const Statement& statement );
113 void removeStatement(
const Statement& statement );
147 void removeContext(
const Node& );
200 bool containsAnyStatement(
const Statement& statement )
const;
222 bool containsStatement(
const Statement& statement )
const;
237 bool isEmpty()
const;
243 int statementCount()
const;
336 bool operator==(
const Graph& g )
const;
344 bool operator!=(
const Graph& g )
const;
A Node represents one RDF resource.
SOPRANO_EXPORT QUrl predicate()
A Statement instance represents one RDF quadruple.
SOPRANO_EXPORT QDebug operator<<(QDebug dbg, const Graph &graph)
SOPRANO_EXPORT QUrl Graph()
An iterator that provides a stream of Statements.
SOPRANO_EXPORT QUrl subject()
SOPRANO_EXPORT QUrl Statement()
A simple collection of statements.
An iterator that provides a stream of Nodes.
SOPRANO_EXPORT QUrl context()