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;}
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