digiKam
|
Public Member Functions | |
DATABASEFIELDS_HASH_DECLARE_METHODS (CustomEnum, uniqueKey) | |
DATABASEFIELDS_HASH_DECLARE_METHODS (ImageHistoryInfo, uniqueKey) | |
DATABASEFIELDS_HASH_DECLARE_METHODS (ImageMetadata, uniqueKey) | |
DATABASEFIELDS_HASH_DECLARE_METHODS (Images, uniqueKey) | |
DATABASEFIELDS_HASH_DECLARE_METHODS (ItemComments, uniqueKey) | |
DATABASEFIELDS_HASH_DECLARE_METHODS (ItemInformation, uniqueKey) | |
DATABASEFIELDS_HASH_DECLARE_METHODS (ItemPositions, uniqueKey) | |
DATABASEFIELDS_HASH_DECLARE_METHODS (VideoMetadata, uniqueKey) | |
Static Public Member Functions | |
static unsigned int | uniqueKey (CustomEnum f) |
static unsigned int | uniqueKey (ImageHistoryInfo f) |
static unsigned int | uniqueKey (ImageMetadata f) |
static unsigned int | uniqueKey (Images f) |
static unsigned int | uniqueKey (ItemComments f) |
static unsigned int | uniqueKey (ItemInformation f) |
static unsigned int | uniqueKey (ItemPositions f) |
static unsigned int | uniqueKey (VideoMetadata f) |
This class provides a hash on all DatabaseFields enums, allowing to use the enum values as independent keys. You can use the class like a normal QHash with the value type defined by you, and as keys the members of the DatabaseFields enums. You can only use single enum members as keys, not or'ed numbers. You can use one custom enum, cast to DatabaseFields::CustomEnum, which can have at most 26 flag values (1 << 0 to 1 << 26). Pass this as the optional second template parameter.
Digikam::DatabaseFields::Hash< T >::DATABASEFIELDS_HASH_DECLARE_METHODS | ( | CustomEnum | , |
uniqueKey | |||
) |
Digikam::DatabaseFields::Hash< T >::DATABASEFIELDS_HASH_DECLARE_METHODS | ( | ImageHistoryInfo | , |
uniqueKey | |||
) |
Digikam::DatabaseFields::Hash< T >::DATABASEFIELDS_HASH_DECLARE_METHODS | ( | ImageMetadata | , |
uniqueKey | |||
) |
Digikam::DatabaseFields::Hash< T >::DATABASEFIELDS_HASH_DECLARE_METHODS | ( | Images | , |
uniqueKey | |||
) |
Digikam::DatabaseFields::Hash< T >::DATABASEFIELDS_HASH_DECLARE_METHODS | ( | ItemComments | , |
uniqueKey | |||
) |
Digikam::DatabaseFields::Hash< T >::DATABASEFIELDS_HASH_DECLARE_METHODS | ( | ItemInformation | , |
uniqueKey | |||
) |
Digikam::DatabaseFields::Hash< T >::DATABASEFIELDS_HASH_DECLARE_METHODS | ( | ItemPositions | , |
uniqueKey | |||
) |
Digikam::DatabaseFields::Hash< T >::DATABASEFIELDS_HASH_DECLARE_METHODS | ( | VideoMetadata | , |
uniqueKey | |||
) |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |