Syndication
9#include "nodevisitor.h"
15class SYNDICATION_NO_EXPORT Literal::LiteralPrivate
21 bool operator==(
const LiteralPrivate &other)
const
23 return text == other.text;
32Literal::Literal(
const Literal &other)
38Literal *Literal::clone()
const
40 return new Literal(*
this);
43void Literal::accept(NodeVisitor *visitor, NodePtr ptr)
45 LiteralPtr lptr = ptr.staticCast<Syndication::RDF::Literal>();
46 if (!visitor->visitLiteral(lptr)) {
47 Node::accept(visitor, ptr);
51Literal::Literal(
const QString &text)
52 : d(new LiteralPrivate)
62Literal &Literal::operator=(
const Literal &other)
68bool Literal::operator==(
const Literal &other)
const
74 return *d == *(other.d);
77bool Literal::isNull()
const
82unsigned int Literal::id()
const
87bool Literal::isResource()
const
92bool Literal::isProperty()
const
97bool Literal::isLiteral()
const
102bool Literal::isAnon()
const
107bool Literal::isSequence()
const
114 return d ? d->text :
QString();
117Literal::operator
QString()
const
119 return d ? d->text :
QString();
122void Literal::setModel(
const Model & )
126void Literal::setId(
unsigned int id)
bool operator==(const QGraphicsApiFilter &reference, const QGraphicsApiFilter &sample)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:14:15 by
doxygen 1.10.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.