syndication/rdf
model.cpp
208 bool Model::ModelPrivate::resourceHasProperty(const Resource* resource, PropertyPtr property) const
232 StatementPtr Model::ModelPrivate::resourceProperty(const Resource* resource, PropertyPtr property) const
247 QList<StatementPtr> Model::resourceProperties(const Resource* resource, PropertyPtr property) const
252 QList<StatementPtr> Model::ModelPrivate::resourceProperties(const Resource* resource, PropertyPtr property) const
virtual ResourcePtr createResource(const QString &uri=QString())
creates a resource and associates it with this model.
Definition: model.cpp:80
virtual SequencePtr createSequence(const QString &uri=QString())
creates a sequence and associates it with this model.
Definition: model.cpp:98
a property is node type that represents properties of things, like "name" is a property of a person,...
Definition: property.h:46
virtual LiteralPtr createLiteral(const QString &text)
creates a literal and associates it with this model.
Definition: model.cpp:123
virtual QString debugInfo() const
/** a debug string listing the contained statements for debugging purposes
Definition: model.cpp:274
An RDF statement, consisting of a triple (subject, predicate, object).
Definition: statement.h:44
virtual PropertyPtr createProperty(const QString &uri)
creates a property and associates it with this model.
Definition: model.cpp:55
PropertyPtr type()
the rdf:type property (A rdf:type B means A is instance of B)
Definition: rdfvocab.cpp:82
virtual LiteralPtr literalByID(uint id) const
searches the model for a literal by ID.
Definition: model.cpp:376
virtual PropertyPtr propertyByID(uint id) const
searches the model for a property by ID.
Definition: model.cpp:355
virtual QList< StatementPtr > statements() const
returns a list of the statements in this model.
Definition: model.cpp:269
virtual StatementPtr addStatement(ResourcePtr subject, PropertyPtr predicate, NodePtr object)
adds a statement to the model.
Definition: model.cpp:146
virtual ResourcePtr resourceByID(uint id) const
searches the model for a resource by ID.
Definition: model.cpp:334
virtual QList< ResourcePtr > resourcesWithType(ResourcePtr type) const
returns all resources of a given type.
Definition: model.cpp:300
virtual NodePtr nodeByID(uint id) const
searches the model for a node by ID.
Definition: model.cpp:317
Sequence container, a sequence contains an ordered list of RDF nodes.
Definition: sequence.h:46
virtual void removeStatement(ResourcePtr subject, PropertyPtr predicate, NodePtr object)
removes a statement from the model.
Definition: model.cpp:137
bool operator==(const Model &other) const
Returns whether two models objects represent the same model (i.e.
Definition: model.cpp:50
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Tue Jul 28 2020 00:00:00 by doxygen 1.8.18 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Tue Jul 28 2020 00:00:00 by doxygen 1.8.18 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.