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). |
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.
Options::Options | ( | ) |
the constructor initializes the options with their default values.
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).
List of Microsoft Attribution Lines (needed for the Microsoft Attribution Line Test (msTest)).
Signature filename and rating options for the Own Signature Test (ownSigTest) (default: ~/.signature).
Rating options for the Microsoft Attribution Line Test (msTest).
Rating options for the Ratio Quoted Lines To All Lines Test (quotedToAllTest).
Rating options for the Ratio Quoted Lines At Bottom Of The Mail To All Lines Test (bottomQuotedToAllTest).
Rating options for the Ratio Quoted Lines At Bottom Of The Mail To Quoted Lines Test (bottomQuotedToQuotedTest).
Rating options for the Single Quote Block At The Bottom of The Mail Test (mailSingleBottomQuote).