Syndication::SpecificItem
Syndication::SpecificItem Class Referenceabstract
#include <specificitem.h>
Inheritance diagram for Syndication::SpecificItem:
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.
Definition at line 31 of file specificitem.h.
Constructor & Destructor Documentation
◆ ~SpecificItem()
|
virtual |
virtual dtor
Definition at line 12 of file specificitem.cpp.
Member Function Documentation
◆ accept()
|
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
Implemented in Syndication::Atom::Entry, and Syndication::RDF::Item.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 11 2024 12:09:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 11 2024 12:09:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.