digiKam
Digikam::ParseResults Class Reference

Public Types

typedef QPair< int, int > ResultsKey
 
typedef QMultiMap< ResultsKey, ResultsValueResultsMap
 
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< ResultsKeykeys () 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< ResultsValuevalues () const
 
 ~ParseResults ()
 

Member Typedef Documentation

◆ ResultsKey

typedef QPair<int, int> Digikam::ParseResults::ResultsKey

◆ ResultsMap

◆ ResultsValue

typedef QPair<QString, QString> Digikam::ParseResults::ResultsValue

Constructor & Destructor Documentation

◆ ParseResults()

Digikam::ParseResults::ParseResults ( )
inlineexplicit

◆ ~ParseResults()

Digikam::ParseResults::~ParseResults ( )
inline

Member Function Documentation

◆ addEntry()

void Digikam::ParseResults::addEntry ( const ResultsKey key,
const ResultsValue value 
)

References value.

Referenced by Digikam::Rule::parse().

◆ append()

void Digikam::ParseResults::append ( const ParseResults results)

Referenced by Digikam::Parser::parse().

◆ clear()

void Digikam::ParseResults::clear ( )

◆ debug()

void Digikam::ParseResults::debug ( ) const

References result(), and token().

◆ deleteEntry()

void Digikam::ParseResults::deleteEntry ( const ResultsKey key)

◆ hasKey()

bool Digikam::ParseResults::hasKey ( const ResultsKey key)

References keys().

◆ hasKeyAtApproximatePosition()

bool Digikam::ParseResults::hasKeyAtApproximatePosition ( int  pos) const

References keyAtApproximatePosition().

Referenced by offset().

◆ hasKeyAtPosition()

bool Digikam::ParseResults::hasKeyAtPosition ( int  pos) const

References keyAtPosition().

Referenced by offset(), and replaceTokens().

◆ isEmpty()

bool Digikam::ParseResults::isEmpty ( ) const

◆ keyAtApproximatePosition()

ParseResults::ResultsKey Digikam::ParseResults::keyAtApproximatePosition ( int  pos) const

◆ keyAtPosition()

ParseResults::ResultsKey Digikam::ParseResults::keyAtPosition ( int  pos) const

Referenced by hasKeyAtPosition(), and replaceTokens().

◆ keys()

QList< ParseResults::ResultsKey > Digikam::ParseResults::keys ( ) const

◆ offset()

int Digikam::ParseResults::offset ( const ResultsKey key) const

◆ replaceTokens()

QString Digikam::ParseResults::replaceTokens ( const QString &  markedString) const

◆ result()

QString Digikam::ParseResults::result ( const ResultsKey key) const

Referenced by debug(), and replaceTokens().

◆ token()

QString Digikam::ParseResults::token ( const ResultsKey key) const

Referenced by debug().

◆ values()

QList< ParseResults::ResultsValue > Digikam::ParseResults::values ( ) const

The documentation for this class was generated from the following files: