Search for usage in LXR

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.

Frank Osterfeld

Definition at line 31 of file specificitem.h.

Constructor & Destructor Documentation

◆ ~SpecificItem()

Syndication::SpecificItem::~SpecificItem ( )

virtual dtor

Definition at line 12 of file specificitem.cpp.

Member Function Documentation

◆ accept()

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.

visitorthe visitor "visiting" this object

Implemented in Syndication::Atom::Entry.

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 Jun 14 2024 11:50:32 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.