QgsVectorLayerUtils::QgsDuplicateFeatureContext class

Contains mainly the QMap with QgsVectorLayer and QgsFeatureIds do list all the duplicated features.

Constructors, destructors, conversion operators

QgsDuplicateFeatureContext() defaulted
Constructor for QgsDuplicateFeatureContext.

Public functions

auto duplicatedFeatures(QgsVectorLayer* layer) const -> QgsFeatureIds
Returns the duplicated features in the given layer.
auto layers() const -> QList<QgsVectorLayer*>
Returns all the layers on which features have been duplicated.

Function documentation

QgsFeatureIds QgsVectorLayerUtils::QgsDuplicateFeatureContext::duplicatedFeatures(QgsVectorLayer* layer) const

Returns the duplicated features in the given layer.

QList<QgsVectorLayer*> QgsVectorLayerUtils::QgsDuplicateFeatureContext::layers() const

Returns all the layers on which features have been duplicated.