• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • Sitemap
  • Contact Us
 

syndication/rdf

nodevisitor.h

00001 /*
00002  * This file is part of the syndication library
00003  *
00004  * Copyright (C) 2006 Frank Osterfeld <osterfeld@kde.org>
00005  *
00006  * This library is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU Library General Public
00008  * License as published by the Free Software Foundation; either
00009  * version 2 of the License, or (at your option) any later version.
00010  *
00011  * This library is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014  * Library General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU Library General Public License
00017  * along with this library; see the file COPYING.LIB.  If not, write to
00018  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00019  * Boston, MA 02110-1301, USA.
00020  *
00021  */
00022 #ifndef SYNDICATION_RDF_NODEVISITOR_H
00023 #define SYNDICATION_RDF_NODEVISITOR_H
00024 
00025 #include <syndication/ksyndication_export.h>
00026 
00027 namespace boost {
00028     template <class T> class shared_ptr;
00029 }
00030 
00031 namespace Syndication {
00032 
00033 namespace RDF {
00034 
00035 //@cond PRIVATE
00036 class Literal;
00037 typedef boost::shared_ptr<Literal> LiteralPtr;
00038 class Node;
00039 typedef boost::shared_ptr<Node> NodePtr;
00040 class Property;
00041 typedef boost::shared_ptr<Property> PropertyPtr;
00042 class Resource;
00043 typedef boost::shared_ptr<Resource> ResourcePtr;
00044 class Sequence;
00045 typedef boost::shared_ptr<Sequence> SequencePtr;
00046 //@endcond
00047 
00057 class SYNDICATION_EXPORT NodeVisitor
00058 {
00059     public:
00060 
00064         virtual ~NodeVisitor();
00065 
00072         virtual void visit(NodePtr node);
00073 
00081         virtual bool visitLiteral(LiteralPtr);
00082 
00091         virtual bool visitNode(NodePtr node);
00092 
00100         virtual bool visitProperty(PropertyPtr property);
00101 
00109         virtual bool visitResource(ResourcePtr resource);
00110 
00118         virtual bool visitSequence(SequencePtr seq);
00119 };
00120 
00121 } // namespace RDF
00122 } // namespace Syndication
00123 
00124 #endif // SYNDICATION_RDF_NODEVISITOR_H

syndication/rdf

Skip menu "syndication/rdf"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  • kabc
  • kblog
  • kcal
  • kimap
  • kioslave
  •   imap4
  •   mbox
  • kldap
  • kmime
  • kpimidentities
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal