syndication/rdf
23 #ifndef SYNDICATION_RDF_RESOURCE_H
24 #define SYNDICATION_RDF_RESOURCE_H
26 #include <syndication/rdf/node.h>
28 #include <boost/shared_ptr.hpp>
32 template <
class T>
class QList;
34 namespace Syndication {
39 typedef boost::shared_ptr<Property> PropertyPtr;
42 typedef boost::shared_ptr<Statement> StatementPtr;
44 typedef boost::shared_ptr<Resource> ResourcePtr;
95 bool operator==(
const Node& other)
const;
103 virtual void accept(
NodeVisitor* visitor, NodePtr ptr);
113 virtual Model model()
const;
121 virtual bool hasProperty(PropertyPtr property)
const;
132 virtual StatementPtr property(PropertyPtr property)
const;
147 virtual bool isNull()
const;
153 virtual unsigned int id()
const;
158 virtual bool isResource()
const;
163 virtual bool isLiteral()
const;
169 virtual bool isProperty()
const;
174 virtual bool isAnon()
const;
180 virtual bool isSequence()
const;
197 virtual void setModel(
const Model& model);
203 virtual void setId(
unsigned int id);
207 class ResourcePrivate;
208 typedef boost::shared_ptr<ResourcePrivate> ResourcePrivatePtr;
209 ResourcePrivatePtr d;
215 #endif // SYNDICATION_RDF_RESOURCE_H
Resources are the entities in the RDF graph.
An RDF model, a set of RDF statements.
Visitor interface, following the Visitor design pattern.
an RDF node, abstract baseclass for all RDF node types, like resources and literals ...
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:38 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.