Syndication
8 #ifndef SYNDICATION_RDF_NODE_H
9 #define SYNDICATION_RDF_NODE_H
11 #include <QSharedPointer>
13 #include <syndication_export.h>
30 class SYNDICATION_EXPORT
Node
44 virtual void accept(
NodeVisitor *visitor, NodePtr ptr);
52 virtual bool operator==(
const Node &other)
const = 0;
59 virtual Node *clone()
const = 0;
64 virtual bool isNull()
const = 0;
69 virtual bool isResource()
const = 0;
74 virtual bool isProperty()
const = 0;
79 virtual bool isLiteral()
const = 0;
84 virtual bool isSequence()
const = 0;
89 virtual bool isAnon()
const = 0;
95 virtual unsigned int id()
const = 0;
102 virtual QString text()
const = 0;
108 virtual void setModel(
const Model &model) = 0;
114 virtual void setId(
unsigned int id) = 0;
126 #endif // SYNDICATION_RDF_NODE_H
An RDF model, a set of RDF statements.
an RDF node, abstract baseclass for all RDF node types, like resources and literals
Visitor interface, following the Visitor design pattern.
static unsigned int idCounter
used to generate unique IDs for node objects
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Dec 6 2023 03:51:45 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.