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

syndication/rdf

sequence.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_SEQUENCE_H
00023 #define SYNDICATION_RDF_SEQUENCE_H
00024 
00025 #include <syndication/ksyndication_export.h>
00026 #include <syndication/rdf/resource.h>
00027 
00028 #include <boost/shared_ptr.hpp>
00029 
00030 template <class T> class QList;
00031 
00032 namespace Syndication {
00033 namespace RDF {
00034 
00035 //@cond PRIVATE
00036 class Sequence;
00037 typedef boost::shared_ptr<Sequence> SequencePtr;
00038 //@endcond
00039 
00045 class SYNDICATION_EXPORT Sequence : public Resource
00046 {
00047     public:
00048 
00052         Sequence();
00053         
00058         explicit Sequence(const QString& uri);
00059         
00065         Sequence(const Sequence& other);
00066         
00070         virtual ~Sequence();
00071 
00077         virtual Sequence& operator=(const Sequence& other);
00078 
00085         virtual void accept(NodeVisitor* visitor, NodePtr ptr);
00086 
00090         virtual Sequence* clone() const;
00091 
00097         virtual void append(NodePtr node);
00098         
00103         virtual QList<NodePtr> items() const;
00104         
00108         virtual bool isSequence() const;
00109 
00110     private:
00111 
00112         class SequencePrivate;
00113         boost::shared_ptr<SequencePrivate> d;
00114 };
00115 
00116 } // namespace RDF
00117 } // namespace Syndication
00118 
00119 #endif // SYNDICATION_RDF_SEQUENCE_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
  •   contact
  •   kmime
  • kabc
  • kblog
  • kcal
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.7.1
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