19 #ifndef QGS_GEOMETRY_CHECKER_H 20 #define QGS_GEOMETRY_CHECKER_H 25 #include <QStringList> 27 #include "qgis_analysis.h" 53 QFuture<void> execute(
int *totalSteps =
nullptr );
55 const QList<QgsGeometryCheck *>
getChecks()
const {
return mChecks; }
57 void setMergeAttributeIndices(
const QMap<QString, int> &mergeAttributeIndices ) { mMergeAttributeIndices = mergeAttributeIndices; }
59 const QMap<QString, QgsFeaturePool *>
featurePools()
const {
return mFeaturePools;}
64 void progressValue(
int value );
76 QList<QgsGeometryCheck *> mChecks;
78 QList<QgsGeometryCheckError *> mCheckErrors;
79 QStringList mMessages;
80 QMutex mErrorListMutex;
81 QMap<QString, int> mMergeAttributeIndices;
83 QMap<QString, QgsFeaturePool *> mFeaturePools;
85 void runCheck(
const QMap<QString, QgsFeaturePool *> &featurePools,
const QgsGeometryCheck *check );
88 void emitProgressValue();
91 #endif // QGS_GEOMETRY_CHECKER_H Base class for all map layer types.
QStringList getMessages() const
const QMap< QString, QgsFeaturePool * > featurePools() const
Base class for feedback objects to be used for cancelation of something running in a worker thread...
Base configuration for geometry checks.
Manages and runs a set of geometry checks.
void setMergeAttributeIndices(const QMap< QString, int > &mergeAttributeIndices)
This class implements a geometry check.
const QList< QgsGeometryCheck * > getChecks() const
A feature pool is based on a vector layer and caches features.
QgsGeometryCheckContext * getContext() const
This represents an error reported by a geometry check.
Represents a vector layer which manages a vector based data sets.