KDECore
#include <kmimeglobsfileparser_p.h>
Public Member Functions | |
void | addGlob (const Glob &glob) |
PatternsMap | patternsMap () const |
void | removeMime (const QString &mime) |
Public Attributes | |
QHash< QString, QStringList > | m_fastPatterns |
GlobList | m_highWeightGlobs |
GlobList | m_lowWeightGlobs |
Detailed Description
Result of the globs parsing, as data structures ready for efficient mimetype matching.
This contains: 1) a map of fast regular patterns (e.g. *.txt is stored as "txt" in a qhash's key) 2) a linear list of high-weight globs 3) a linear list of low-weight globs The mime-matching algorithms on top of these data structures are in KMimeTypeFactory.
Definition at line 85 of file kmimeglobsfileparser_p.h.
Member Function Documentation
void KMimeGlobsFileParser::AllGlobs::addGlob | ( | const Glob & | glob | ) |
Definition at line 158 of file kmimeglobsfileparser.cpp.
KMimeGlobsFileParser::PatternsMap KMimeGlobsFileParser::AllGlobs::patternsMap | ( | ) | const |
Definition at line 193 of file kmimeglobsfileparser.cpp.
void KMimeGlobsFileParser::AllGlobs::removeMime | ( | const QString & | mime | ) |
Definition at line 216 of file kmimeglobsfileparser.cpp.
Member Data Documentation
QHash<QString, QStringList> KMimeGlobsFileParser::AllGlobs::m_fastPatterns |
Definition at line 92 of file kmimeglobsfileparser_p.h.
GlobList KMimeGlobsFileParser::AllGlobs::m_highWeightGlobs |
Definition at line 93 of file kmimeglobsfileparser_p.h.
GlobList KMimeGlobsFileParser::AllGlobs::m_lowWeightGlobs |
Definition at line 94 of file kmimeglobsfileparser_p.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.