digiKam
Digikam::MetaEngineMergeHelper< Data, Key, KeyString, KeyStringList > Class Template Reference

Public Member Functions

void exclusiveMerge (const Data &src, Data &dest)
 
void mergeAll (const Data &src, Data &dest)
 
void mergeFields (const Data &src, Data &dest)
 
MetaEngineMergeHelperoperator<< (const KeyString &key)
 

Public Attributes

KeyStringList keys
 

Member Function Documentation

◆ exclusiveMerge()

template<class Data , class Key , class KeyString , class KeyStringList = QList<KeyString>>
void Digikam::MetaEngineMergeHelper< Data, Key, KeyString, KeyStringList >::exclusiveMerge ( const Data &  src,
Data &  dest 
)
inline

Merge two (Exif,IPTC,Xmp) Data packages, the result is stored in dest. The following steps apply only to keys in "keys": The result is determined by src. Keys must exist in src to kept in dest. Fields from src take precedence over existing data from dest.

◆ mergeAll()

template<class Data , class Key , class KeyString , class KeyStringList = QList<KeyString>>
void Digikam::MetaEngineMergeHelper< Data, Key, KeyString, KeyStringList >::mergeAll ( const Data &  src,
Data &  dest 
)
inline

Merge two (Exif,IPTC,Xmp) Data packages, where the result is stored in dest and fields from src take precedence over existing data from dest.

◆ mergeFields()

template<class Data , class Key , class KeyString , class KeyStringList = QList<KeyString>>
void Digikam::MetaEngineMergeHelper< Data, Key, KeyString, KeyStringList >::mergeFields ( const Data &  src,
Data &  dest 
)
inline

Merge two (Exif,IPTC,Xmp) Data packages, the result is stored in dest. Only keys in keys are considered for merging. Fields from src take precedence over existing data from dest.

◆ operator<<()

template<class Data , class Key , class KeyString , class KeyStringList = QList<KeyString>>
MetaEngineMergeHelper& Digikam::MetaEngineMergeHelper< Data, Key, KeyString, KeyStringList >::operator<< ( const KeyString &  key)
inline

Member Data Documentation

◆ keys

template<class Data , class Key , class KeyString , class KeyStringList = QList<KeyString>>
KeyStringList Digikam::MetaEngineMergeHelper< Data, Key, KeyString, KeyStringList >::keys

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