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>
31namespace Syndication {
37typedef boost::shared_ptr<Literal> LiteralPtr;
65 explicit Literal(
const QString& text);
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;
141 virtual QString text()
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;
a node type representing simple string values.
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-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by
doxygen 1.9.5 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.