Syndication Library
Syndication::SpecificItem Class Reference
#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.
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:
-
visitor the visitor "visiting" this object
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon Aug 27 2012 22:08:47 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon Aug 27 2012 22:08:47 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.