• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepimlibs API Reference
  • KDE Home
  • Contact Us
 

Syndication Library

  • Syndication
  • SpecificItem
Public Member Functions | List of all members
Syndication::SpecificItem Class Referenceabstract

#include <specificitem.h>

Public Member Functions

virtual ~SpecificItem ()
 
virtual bool accept (SpecificItemVisitor *visitor)=0
 

Detailed Description

Interface for all format-specific item-like classes, such as RSS2/RDF items, and Atom entries.

To process items based on their format, use a SpecificItemVisitor.

Author
Frank Osterfeld

Definition at line 46 of file specificitem.h.

Constructor & Destructor Documentation

Syndication::SpecificItem::~SpecificItem ( )
virtual

virtual dtor

Definition at line 27 of file specificitem.cpp.

Member Function Documentation

virtual bool Syndication::SpecificItem::accept ( SpecificItemVisitor *  visitor)
pure virtual

This must be implemented for the double dispatch technique (Visitor pattern).

The usual implementation is

return visitor->visit(this);

See also SpecificItemVisitor.

Parameters
visitorthe visitor "visiting" this object

The documentation for this class was generated from the following files:
  • specificitem.h
  • specificitem.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:32 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

Syndication Library

Skip menu "Syndication Library"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Related Pages

kdepimlibs API Reference

Skip menu "kdepimlibs API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal