messageviewer
#include <spamheaderanalyzer.h>
Public Member Functions | |
SpamScore () | |
SpamScore (const QString &agent, SpamError error, float score, float confidence, const QString &header, const QString &cheader) | |
QString | agent () const |
float | confidence () const |
QString | confidenceHeader () const |
SpamError | error () const |
float | score () const |
QString | spamHeader () const |
Detailed Description
A simple tupel of error, agent, score, confidence and header.
The score returned is positive if no error has occurred. error values indicate the following errors: noError Spam Headers successfully parsed uninitializedStructUsed Unintialized struct used errorExtractingAgentString Error extracing agent string couldNotConverScoreToFloat Couldn't convert score to float couldNotConvertThresholdToFloatOrThresholdIsNegative Couldn't convert threshold to float or threshold is negative couldNotFindTheScoreField Couldn't find the score field couldNotFindTheThresholdField Couldn't find the threshold field couldNotConvertConfidenceToFloat Couldn't convert confidence to float
Definition at line 69 of file spamheaderanalyzer.h.
Constructor & Destructor Documentation
|
inline |
Definition at line 72 of file spamheaderanalyzer.h.
|
inline |
Definition at line 77 of file spamheaderanalyzer.h.
Member Function Documentation
|
inline |
Definition at line 87 of file spamheaderanalyzer.h.
|
inline |
Definition at line 89 of file spamheaderanalyzer.h.
|
inline |
Definition at line 92 of file spamheaderanalyzer.h.
|
inline |
Definition at line 90 of file spamheaderanalyzer.h.
|
inline |
Definition at line 88 of file spamheaderanalyzer.h.
|
inline |
Definition at line 91 of file spamheaderanalyzer.h.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:32:46 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.