Syndication
11 #include "nodevisitor.h"
13 #include "statement.h"
18 #include <QWeakPointer>
24 class SYNDICATION_NO_EXPORT
Resource::ResourcePrivate
32 bool operator==(
const ResourcePrivate &other)
const
34 if (!isAnon && !other.isAnon) {
35 return uri == other.uri;
37 return id == other.id;
42 Resource::Resource(
const Resource &other)
53 Resource::Resource(
const QString &uri)
54 : d(new ResourcePrivate)
77 bool Resource::operator==(
const Node &other)
const
87 return *d == *(o2->d);
99 return m->resourceHasProperty(
this, property);
104 StatementPtr ptr(
new Statement());
112 return m->resourceProperty(
this, property);
125 return m->resourceProperties(
this, property);
133 void Resource::accept(NodeVisitor *visitor, NodePtr ptr)
136 if (!visitor->visitResource(rptr)) {
141 unsigned int Resource::id()
const
143 return d ? d->id : 0;
146 bool Resource::isNull()
const
151 Model Resource::model()
const
168 bool Resource::isResource()
const
173 bool Resource::isProperty()
const
178 bool Resource::isLiteral()
const
183 bool Resource::isAnon()
const
185 return d ? d->isAnon :
false;
188 bool Resource::isSequence()
const
193 void Resource::setModel(
const Model &model)
200 void Resource::setId(
unsigned int id)
bool isNull() const const
virtual void accept(NodeVisitor *visitor, NodePtr ptr)
Used by visitors for double dispatch.
bool operator==(const Qt3DRender::QGraphicsApiFilter &reference, const Qt3DRender::QGraphicsApiFilter &sample)
QString toString() const const
virtual bool hasProperty(ScriptableExtension *callerPrincipal, quint64 objId, const QString &propName)
QSharedPointer< X > staticCast() const const
QVariant property(const char *name) const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Dec 5 2023 03:58:07 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.