fullquottel
Public Member Functions | Public Attributes
Options Struct Reference

Structure to store the program options. More...

List of all members.

Public Member Functions

 Options ()
 the constructor initializes the options with their default values.

Public Attributes

double scoreThreshold
 Threshold of the added scores of the tests, that decide, whether the mail is a tofu mail or not (default: 0.5).
string quoteChars
 Character(s) that are used to quote. The default value is ">|#".
bool debug
 If this option is set, the internal variables that show the mail statistics are print (default: false).
TextLines attributionLines
 List of Microsoft Attribution Lines (needed for the Microsoft Attribution Line Test (msTest)).
SigRating ownSigTest
 Signature filename and rating options for the Own Signature Test (ownSigTest) (default: ~/.signature).
IntegerRating msTest
 Rating options for the Microsoft Attribution Line Test (msTest).
RatioRating quotedToAllTest
 Rating options for the Ratio Quoted Lines To All Lines Test (quotedToAllTest).
RatioRating bottomQuotedToAllTest
 Rating options for the Ratio Quoted Lines At Bottom Of The Mail To All Lines Test (bottomQuotedToAllTest).
RatioRating bottomQuotedToQuotedTest
 Rating options for the Ratio Quoted Lines At Bottom Of The Mail To Quoted Lines Test (bottomQuotedToQuotedTest).
BoolRating singleBottomQuoteTest
 Rating options for the Single Quote Block At The Bottom of The Mail Test (mailSingleBottomQuote).

Detailed Description

Structure to store the program options.

It stores all options and parameters that are needed to run the program. The command line options, system wide file options, and user file options are transfered within this struct and after that, only this struct is used to access the options.


Constructor & Destructor Documentation

Options::Options ( )

the constructor initializes the options with their default values.


Member Data Documentation

double Options::scoreThreshold

Threshold of the added scores of the tests, that decide, whether the mail is a tofu mail or not (default: 0.5).

string Options::quoteChars

Character(s) that are used to quote. The default value is ">|#".

bool Options::debug

If this option is set, the internal variables that show the mail statistics are print (default: false).

TextLines Options::attributionLines

List of Microsoft Attribution Lines (needed for the Microsoft Attribution Line Test (msTest)).

SigRating Options::ownSigTest

Signature filename and rating options for the Own Signature Test (ownSigTest) (default: ~/.signature).

IntegerRating Options::msTest
RatioRating Options::quotedToAllTest
RatioRating Options::bottomQuotedToAllTest
RatioRating Options::bottomQuotedToQuotedTest
BoolRating Options::singleBottomQuoteTest

The documentation for this struct was generated from the following file: