syndication/rdf
23 #ifndef SYNDICATION_RDF_LITERAL_H
24 #define SYNDICATION_RDF_LITERAL_H
26 #include <QtCore/QString>
27 #include <syndication/rdf/node.h>
29 #include <boost/shared_ptr.hpp>
31 namespace Syndication {
37 typedef boost::shared_ptr<Literal> LiteralPtr;
83 virtual bool operator==(
const Node& other)
const;
96 virtual void accept(
NodeVisitor* visitor, NodePtr ptr);
101 virtual bool isNull()
const;
107 virtual unsigned int id()
const;
112 virtual bool isResource()
const;
116 virtual bool isProperty()
const;
121 virtual bool isLiteral()
const;
126 virtual bool isAnon()
const;
131 virtual bool isSequence()
const;
136 virtual operator QString()
const;
147 virtual void setModel(
const Model& model);
153 virtual void setId(
unsigned int id);
156 class LiteralPrivate;
157 typedef boost::shared_ptr<LiteralPrivate> LiteralPrivatePtr;
165 #endif // SYNDICATION_RDF_LITERAL_H
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 ...
a node type representing simple string values.
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.