Syndication
resource.cpp
Visitor interface, following the Visitor design pattern.
Definition nodevisitor.h:42
virtual bool visitResource(ResourcePtr resource)
reimplement this method to handle resources.
Definition nodevisitor.cpp:44
an RDF node, abstract baseclass for all RDF node types, like resources and literals
Definition node.h:32
virtual void accept(NodeVisitor *visitor, NodePtr ptr)
Used by visitors for double dispatch.
Definition node.cpp:17
bool isSequence() const override
returns true if this resource is also a sequence, false otherwise.
Definition resource.cpp:183
void accept(NodeVisitor *visitor, NodePtr ptr) override
Used by visitors for double dispatch.
Definition resource.cpp:128
bool isAnon() const override
returns whether this resource is an anonymous resource
Definition resource.cpp:178
virtual bool hasProperty(PropertyPtr property) const
returns whether the resource has a property property in the associated model.
Definition resource.cpp:85
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:110
bool operator==(const Resource &other) const
checks two resources for equality.
Definition resource.cpp:77
bool isProperty() const override
returns true if this resource is also a property, false otherwise
Definition resource.cpp:168
bool isNull() const override
returns whether the resource is a null resource
Definition resource.cpp:141
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:97
An RDF statement, consisting of a triple (subject, predicate, object).
Definition statement.h:29
bool operator==(const StyleDelim &l, const StyleDelim &r)
bool isNull() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:18 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:18 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.