syndication/rdf
22 #ifndef SYNDICATION_RDF_NODE_H
23 #define SYNDICATION_RDF_NODE_H
25 #include <QtCore/QString>
26 #include <syndication/ksyndication_export.h>
27 #include <boost/shared_ptr.hpp>
29 namespace Syndication {
36 typedef boost::shared_ptr<Node> NodePtr;
43 class SYNDICATION_EXPORT
Node
58 virtual void accept(
NodeVisitor* visitor, NodePtr ptr);
66 virtual bool operator==(
const Node& other)
const = 0;
73 virtual Node* clone()
const = 0;
78 virtual bool isNull()
const = 0;
83 virtual bool isResource()
const = 0;
88 virtual bool isProperty()
const = 0;
93 virtual bool isLiteral()
const = 0;
98 virtual bool isSequence()
const = 0;
103 virtual bool isAnon()
const = 0;
109 virtual unsigned int id()
const = 0;
116 virtual QString text()
const = 0;
122 virtual void setModel(
const Model& model) = 0;
128 virtual void setId(
unsigned int id) = 0;
141 #endif // SYNDICATION_RDF_NODE_H
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jul 13 2013 01:26:28 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.