digiKam
Digikam::CommonKeys Class Reference
+ Inheritance diagram for Digikam::CommonKeys:

Public Member Functions

QString collectionName () const
 
 CommonKeys ()
 
QString getValue (const QString &key, ParseSettings &settings)
 
DbKeyIdsMap ids () const
 
 ~CommonKeys () override
 

Protected Member Functions

void addId (const QString &id, const QString &description)
 
QString getDbValue (const QString &key, ParseSettings &settings) override
 

Constructor & Destructor Documentation

◆ CommonKeys()

Digikam::CommonKeys::CommonKeys ( )
explicit

◆ ~CommonKeys()

Digikam::CommonKeys::~CommonKeys ( )
inlineoverride

Member Function Documentation

◆ addId()

void Digikam::DbKeysCollection::addId ( const QString &  id,
const QString &  description 
)
protectedinherited

Add an ID to the key collection.

Parameters
idthe id of the database key
descriptiona short description of the database key

Referenced by CommonKeys(), Digikam::MetadataKeys::MetadataKeys(), and Digikam::PositionKeys::PositionKeys().

◆ collectionName()

QString Digikam::DbKeysCollection::collectionName ( ) const
inherited

Get the name of the DbKeysCollection

Returns
the name of the collection

◆ getDbValue()

◆ getValue()

QString Digikam::DbKeysCollection::getValue ( const QString &  key,
ParseSettings settings 
)
inherited

Get a value from the database.

Parameters
keythe key representing the value in the database
settingsthe ParseSettings object holding all relevant information about the image.
Returns
the value of the given database key

References Digikam::DbKeysCollection::getDbValue().

◆ ids()

DbKeyIdsMap Digikam::DbKeysCollection::ids ( ) const
inherited

Get all IDs associated with this key collection.

Returns
a map of all associated ids and their description

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