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

Public Types | Public Member Functions | Private Member Functions | Private Attributes

pan::ArticleFilter Class Reference
[Backend Implementation]

#include <article-filter.h>

Collaboration diagram for pan::ArticleFilter:
Collaboration graph

List of all members.

Public Types

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

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

const 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

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.

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

Generated by  Doxygen 1.6.0   Back to index