Syndication::SpecificItem Class
Interface for all format-specific item-like classes, such as RSS2/RDF items, and Atom entries. More...
- Header:
#include <Syndication/SpecificItem> - CMake:
find_package(KF6 REQUIRED COMPONENTS Syndication)
target_link_libraries(mytarget PRIVATE KF6::Syndication) - Inherited By: Syndication::Atom::Entry
List of all members, including inherited members
Public Functions
Detailed Description
To process items based on their format, use a SpecificItemVisitor.
Member Function Documentation
[pure virtual] bool SpecificItem::accept(Syndication::SpecificItemVisitor *visitor)
This must be implemented for the double dispatch technique (Visitor pattern).
The usual implementation is
return visitor->visit(this);
See also SpecificItemVisitor.
visitor the visitor "visiting" this object