digiKam
|
Public Types | |
typedef QPair< int, int > | ResultsKey |
typedef QMultiMap< ResultsKey, ResultsValue > | ResultsMap |
typedef QPair< QString, QString > | ResultsValue |
Public Member Functions | |
void | addEntry (const ResultsKey &key, const ResultsValue &value) |
void | append (const ParseResults &results) |
void | clear () |
void | debug () const |
void | deleteEntry (const ResultsKey &key) |
bool | hasKey (const ResultsKey &key) |
bool | hasKeyAtApproximatePosition (int pos) const |
bool | hasKeyAtPosition (int pos) const |
bool | isEmpty () const |
ResultsKey | keyAtApproximatePosition (int pos) const |
ResultsKey | keyAtPosition (int pos) const |
QList< ResultsKey > | keys () const |
int | offset (const ResultsKey &key) const |
ParseResults () | |
QString | replaceTokens (const QString &markedString) const |
QString | result (const ResultsKey &key) const |
QString | token (const ResultsKey &key) const |
QList< ResultsValue > | values () const |
~ParseResults () | |
typedef QPair<int, int> Digikam::ParseResults::ResultsKey |
typedef QMultiMap<ResultsKey, ResultsValue> Digikam::ParseResults::ResultsMap |
typedef QPair<QString, QString> Digikam::ParseResults::ResultsValue |
|
inlineexplicit |
|
inline |
void Digikam::ParseResults::addEntry | ( | const ResultsKey & | key, |
const ResultsValue & | value | ||
) |
References value.
Referenced by Digikam::Rule::parse().
void Digikam::ParseResults::append | ( | const ParseResults & | results | ) |
Referenced by Digikam::Parser::parse().
void Digikam::ParseResults::clear | ( | ) |
void Digikam::ParseResults::deleteEntry | ( | const ResultsKey & | key | ) |
bool Digikam::ParseResults::hasKey | ( | const ResultsKey & | key | ) |
References keys().
bool Digikam::ParseResults::hasKeyAtApproximatePosition | ( | int | pos | ) | const |
References keyAtApproximatePosition().
Referenced by offset().
bool Digikam::ParseResults::hasKeyAtPosition | ( | int | pos | ) | const |
References keyAtPosition().
Referenced by offset(), and replaceTokens().
bool Digikam::ParseResults::isEmpty | ( | ) | const |
ParseResults::ResultsKey Digikam::ParseResults::keyAtApproximatePosition | ( | int | pos | ) | const |
Referenced by hasKeyAtApproximatePosition(), offset(), and Digikam::Parser::tokenAtPosition().
ParseResults::ResultsKey Digikam::ParseResults::keyAtPosition | ( | int | pos | ) | const |
Referenced by hasKeyAtPosition(), and replaceTokens().
QList< ParseResults::ResultsKey > Digikam::ParseResults::keys | ( | ) | const |
Referenced by hasKey(), and Digikam::Highlighter::highlightBlock().
int Digikam::ParseResults::offset | ( | const ResultsKey & | key | ) | const |
References hasKeyAtApproximatePosition(), hasKeyAtPosition(), and keyAtApproximatePosition().
QString Digikam::ParseResults::replaceTokens | ( | const QString & | markedString | ) | const |
References hasKeyAtPosition(), keyAtPosition(), result(), and value.
Referenced by Digikam::Parser::parse().
QString Digikam::ParseResults::result | ( | const ResultsKey & | key | ) | const |
Referenced by debug(), and replaceTokens().
QString Digikam::ParseResults::token | ( | const ResultsKey & | key | ) | const |
Referenced by debug().
QList< ParseResults::ResultsValue > Digikam::ParseResults::values | ( | ) | const |