KMime
kmime_charfreq.h
Go to the documentation of this file.
bool isEightBitText() const
Returns true if the data Type is EightBitText; false otherwise.
Definition: kmime_charfreq.cpp:153
bool isEightBitData() const
Returns true if the data Type is EightBitData; false otherwise.
Definition: kmime_charfreq.cpp:148
Definition: kmime_charfreq.h:50
bool isSevenBitText() const
Returns true if the data Type is SevenBitText; false otherwise.
Definition: kmime_charfreq.cpp:163
bool hasTrailingWhitespace() const
Returns true if the data contains trailing whitespace.
Definition: kmime_charfreq.cpp:168
bool isSevenBitData() const
Returns true if the data Type is SevenBitData; false otherwise.
Definition: kmime_charfreq.cpp:158
float printableRatio() const
Returns the percentage of printable characters in the data.
Definition: kmime_charfreq.cpp:218
CharFreq(const QByteArray &buf)
Constructs a Character Frequency instance for a buffer buf of QByteArray data.
Definition: kmime_charfreq.cpp:37
bool hasLeadingFrom() const
Returns true if the data contains a line that starts with "From ".
Definition: kmime_charfreq.cpp:173
float controlCodesRatio() const
Returns the percentage of control code characters (CTLs) in the data.
Definition: kmime_charfreq.cpp:227
A class for performing basic data typing using frequency count heuristics.
Definition: kmime_charfreq.h:65
Type type() const
Returns the data Type as derived from the class heuristics.
Definition: kmime_charfreq.cpp:178
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Wed Jan 20 2021 23:18:47 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2021 The KDE developers.
Generated on Wed Jan 20 2021 23:18:47 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.