digiKam
Digikam::HistoryVertexProperties Class Reference

Public Member Functions

bool alwaysMarkedAs (HistoryImageId::Type) const
 
ItemInfo firstItemInfo () const
 
bool markedAs (HistoryImageId::Type) const
 
HistoryVertexPropertiesoperator+= (const HistoryImageId &info)
 
HistoryVertexPropertiesoperator+= (const ItemInfo &info)
 
HistoryVertexPropertiesoperator+= (const QString &uuid)
 
bool operator== (const HistoryImageId &info) const
 
bool operator== (const ItemInfo &info) const
 
bool operator== (const QString &uuid) const
 
bool operator== (qlonglong id) const
 

Public Attributes

QList< ItemInfoinfos
 
QList< HistoryImageIdreferredImages
 
QString uuid
 

Detailed Description

Every vertex has one associated object of this class

All entries in a vertex refer to identical images. There can be multiple referred images in a history entry. Each single HistoryImageId can resolve into none, one, or multiple ItemInfos. So there is no mapping between the two fields here.

If an image is created from multiple source images (panorama etc.), there will be one vertex per source image!

Member Function Documentation

◆ alwaysMarkedAs()

bool Digikam::HistoryVertexProperties::alwaysMarkedAs ( HistoryImageId::Type  type) const

◆ firstItemInfo()

ItemInfo Digikam::HistoryVertexProperties::firstItemInfo ( ) const

◆ markedAs()

bool Digikam::HistoryVertexProperties::markedAs ( HistoryImageId::Type  type) const

◆ operator+=() [1/3]

HistoryVertexProperties & Digikam::HistoryVertexProperties::operator+= ( const HistoryImageId info)

References referredImages, and uuid.

◆ operator+=() [2/3]

HistoryVertexProperties & Digikam::HistoryVertexProperties::operator+= ( const ItemInfo info)

◆ operator+=() [3/3]

HistoryVertexProperties & Digikam::HistoryVertexProperties::operator+= ( const QString &  uuid)

References uuid.

◆ operator==() [1/4]

bool Digikam::HistoryVertexProperties::operator== ( const HistoryImageId info) const

◆ operator==() [2/4]

bool Digikam::HistoryVertexProperties::operator== ( const ItemInfo info) const

References infos.

◆ operator==() [3/4]

bool Digikam::HistoryVertexProperties::operator== ( const QString &  uuid) const

References uuid.

◆ operator==() [4/4]

bool Digikam::HistoryVertexProperties::operator== ( qlonglong  id) const

References Digikam::ItemInfo::id(), and infos.

Member Data Documentation

◆ infos

◆ referredImages

QList<HistoryImageId> Digikam::HistoryVertexProperties::referredImages

◆ uuid

QString Digikam::HistoryVertexProperties::uuid

Referenced by operator+=(), and operator==().


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