Akregator::Filters::ArticleMatcher Class Reference
#include <articlefilter.h>
Inheritance diagram for Akregator::Filters::ArticleMatcher:

Public Types | |
enum | Association { None, LogicalAnd, LogicalOr } |
Public Member Functions | |
ArticleMatcher (const TQValueList< Criterion > &criteria, Association assoc) | |
ArticleMatcher (const ArticleMatcher &other) | |
virtual bool | matchesAll () const |
ArticleMatcher & | operator= (const ArticleMatcher &other) |
virtual ArticleMatcher * | clone () const |
virtual bool | matches (const Article &article) const |
virtual bool | operator== (const AbstractMatcher &other) const |
virtual bool | operator!= (const AbstractMatcher &other) const |
virtual void | writeConfig (TDEConfig *config) const |
virtual void | readConfig (TDEConfig *config) |
Detailed Description
a powerful matcher supporting multiple criterions, which can be combined via logical OR or AND
Definition at line 216 of file articlefilter.h.
Member Function Documentation
◆ clone()
|
virtual |
returns a copy of the matcher
Implements Akregator::Filters::AbstractMatcher.
Definition at line 234 of file articlefilter.cpp.
◆ matchesAll()
|
virtual |
returns whether the matcher matches all articles anyway (empty criteria list), so there is no need to call matches() at all.
Definition at line 229 of file articlefilter.cpp.
The documentation for this class was generated from the following files: