Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

check::Checker Class Reference

#include <Checker.hh>

List of all members.

Public Methods

 Checker (pref::Preferences *)
 ~Checker ()
int duplicates (msg::Header *, vector< string > *)
 Returns 0 if message was a duplicate, 1 otherwise. More...

int lineLength (msg::Header *)
 Returns 0 if line length exceeded, 1 otherwise. More...

int friends (msg::Header *)
 Returns 0 if MAXSIZE_ALLOW was exceeded, 1 if message is a friend to pass filters, 2 if message could not be categorised. More...

int size (msg::Header *)
 Returns 0 if message was too large, 1 otherwise. More...

int filters (msg::Header *)
 Returns 0 if message was spam, 1 if message was spam after normalisation, 2 otherwise. More...

int negFilters (msg::Header *)
 Returns 0 if message was spam, 1 otherwise. More...

int scores (msg::Header *)
 Returns the SPAM-score this message achieved. More...

int negScores (msg::Header *)
 Returns the SPAM-score this message achieved with the negative filters. More...

void cleanMatchingStrings (void)
 Delete matching strings. More...

void cleanMatchingFilters (void)
 Delete matching filters/scores. More...

void setMatchingString (const string)
 Sets/adds matching string. More...

vector< string > * getMatchingStrings (void)
 Returns the header sub-string that was matched to a spam filter rule (see matchingFilter). More...

void setMatchingFilter (const string)
 Sets/adds matching filter. More...

vector< string > * getMatchingFilters (void)
 Returns the filters that matched a header sub-string (see matchingString). More...


Constructor & Destructor Documentation

check::Checker::Checker pref::Preferences  
 

check::Checker::~Checker  
 


Member Function Documentation

void check::Checker::cleanMatchingFilters void   
 

Delete matching filters/scores.

void check::Checker::cleanMatchingStrings void   
 

Delete matching strings.

int check::Checker::duplicates msg::Header  ,
vector< string > *   
 

Returns 0 if message was a duplicate, 1 otherwise.

int check::Checker::filters msg::Header  
 

Returns 0 if message was spam, 1 if message was spam after normalisation, 2 otherwise.

int check::Checker::friends msg::Header  
 

Returns 0 if MAXSIZE_ALLOW was exceeded, 1 if message is a friend to pass filters, 2 if message could not be categorised.

vector< string > * check::Checker::getMatchingFilters void   
 

Returns the filters that matched a header sub-string (see matchingString).

vector< string > * check::Checker::getMatchingStrings void   
 

Returns the header sub-string that was matched to a spam filter rule (see matchingFilter).

int check::Checker::lineLength msg::Header  
 

Returns 0 if line length exceeded, 1 otherwise.

int check::Checker::negFilters msg::Header  
 

Returns 0 if message was spam, 1 otherwise.

int check::Checker::negScores msg::Header  
 

Returns the SPAM-score this message achieved with the negative filters.

int check::Checker::scores msg::Header  
 

Returns the SPAM-score this message achieved.

void check::Checker::setMatchingFilter const    string
 

Sets/adds matching filter.

void check::Checker::setMatchingString const    string
 

Sets/adds matching string.

int check::Checker::size msg::Header  
 

Returns 0 if message was too large, 1 otherwise.


The documentation for this class was generated from the following files:
Generated on Sat Apr 12 16:12:13 2003 for mailfilter by doxygen1.2.15