syndication/rdf
resource.cpp
Visitor interface, following the Visitor design pattern.
Definition nodevisitor.h:58
an RDF node, abstract baseclass for all RDF node types, like resources and literals
Definition node.h:44
virtual void accept(NodeVisitor *visitor, NodePtr ptr)
Used by visitors for double dispatch.
Definition node.cpp:31
virtual bool isNull() const
returns whether the resource is a null resource
Definition resource.cpp:155
virtual bool isAnon() const
returns whether this resource is an anonymous resource
Definition resource.cpp:190
virtual StatementPtr property(PropertyPtr property) const
returns a statement from the associated model where this resource is the subject and the given proper...
Definition resource.cpp:116
virtual bool hasProperty(PropertyPtr property) const
returns whether the resource has a property property in the associated model.
Definition resource.cpp:106
virtual QList< StatementPtr > properties(PropertyPtr property) const
returns the list of all statements from the associated model where this resource is the subject and t...
Definition resource.cpp:127
virtual void accept(NodeVisitor *visitor, NodePtr ptr)
Used by visitors for double dispatch.
Definition resource.cpp:143
virtual bool isSequence() const
returns true if this resource is also a sequence, false otherwise.
Definition resource.cpp:195
bool operator==(const Node &other) const
checks two resources for equality.
Definition resource.cpp:95
virtual bool isProperty() const
returns true if this resource is also a property, false otherwise
Definition resource.cpp:180
An RDF statement, consisting of a triple (subject, predicate, object).
Definition statement.h:44
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.