syndication/rdf
22 #ifndef SYNDICATION_RDF_NODEVISITOR_H
23 #define SYNDICATION_RDF_NODEVISITOR_H
25 #include <syndication/ksyndication_export.h>
28 template <
class T>
class shared_ptr;
31 namespace Syndication {
37 typedef boost::shared_ptr<Literal> LiteralPtr;
39 typedef boost::shared_ptr<Node> NodePtr;
41 typedef boost::shared_ptr<Property> PropertyPtr;
43 typedef boost::shared_ptr<Resource> ResourcePtr;
45 typedef boost::shared_ptr<Sequence> SequencePtr;
72 virtual void visit(NodePtr node);
81 virtual bool visitLiteral(LiteralPtr);
91 virtual bool visitNode(NodePtr node);
100 virtual bool visitProperty(PropertyPtr property);
109 virtual bool visitResource(ResourcePtr resource);
118 virtual bool visitSequence(SequencePtr seq);
124 #endif // SYNDICATION_RDF_NODEVISITOR_H
Visitor interface, following the Visitor design pattern.
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.