Logo Search packages:      
Sourcecode: pan version File versions  Download package

pan::ArticleFilter Class Reference
[Backend Implementation]

#include <article-filter.h>

List of all members.


Detailed Description

This private class should only be used by data-impl classes.

It's used for implementing article filters as described by FilterInfo in the 'backend interfaces' module.

Definition at line 39 of file article-filter.h.


Public Types

typedef std::vector< const
Article * > 
articles_t
typedef std::vector< const
Scorefile::Section * > 
sections_t

Public Member Functions

void get_article_scores (const Data &data, const sections_t &score, const Quark &group, const Article &article, Scorefile::items_t &setme) const
int score_article (const Data &data, const sections_t &score, const Quark &group, const Article &article) const
bool test_article (const Data &data, const FilterInfo &criteria, const Quark &group, const Article &article) const
void test_articles (const Data &data, const FilterInfo &criteria, const Quark &group, const articles_t &in, articles_t &setme_pass, articles_t &setme_fail) const

Private Member Functions

StringView get_header (const Article &a, const Quark &header_name) const

Private Attributes

const Quark from
const Quark message_ID
const Quark message_Id
const Quark newsgroups
const Quark references
const Quark subject
const Quark xref

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index