QGIS API Documentation  3.20.0-Odense (decaadbb31)
Classes | Signals | Public Member Functions | List of all members
QgsGeometryChecker Class Reference

Manages and runs a set of geometry checks. More...

#include <qgsgeometrychecker.h>

Inheritance diagram for QgsGeometryChecker:
Inheritance graph
[legend]

Signals

void errorAdded (QgsGeometryCheckError *error)
 
void errorUpdated (QgsGeometryCheckError *error, bool statusChanged)
 
void progressValue (int value)
 

Public Member Functions

 QgsGeometryChecker (const QList< QgsGeometryCheck * > &checks, QgsGeometryCheckContext *context, const QMap< QString, QgsFeaturePool * > &featurePools)
 
 ~QgsGeometryChecker () override
 
QFuture< void > execute (int *totalSteps=nullptr)
 
const QMap< QString, QgsFeaturePool * > featurePools () const
 
bool fixError (QgsGeometryCheckError *error, int method, bool triggerRepaint=false)
 
const QList< QgsGeometryCheck * > getChecks () const
 
QgsGeometryCheckContextgetContext () const
 
QStringList getMessages () const
 
void setMergeAttributeIndices (const QMap< QString, int > &mergeAttributeIndices)
 

Detailed Description

Manages and runs a set of geometry checks.

Since
QGIS 3.4

Definition at line 47 of file qgsgeometrychecker.h.

Constructor & Destructor Documentation

◆ QgsGeometryChecker()

QgsGeometryChecker::QgsGeometryChecker ( const QList< QgsGeometryCheck * > &  checks,
QgsGeometryCheckContext context,
const QMap< QString, QgsFeaturePool * > &  featurePools 
)

Definition at line 33 of file qgsgeometrychecker.cpp.

◆ ~QgsGeometryChecker()

QgsGeometryChecker::~QgsGeometryChecker ( )
override

Definition at line 49 of file qgsgeometrychecker.cpp.

Member Function Documentation

◆ errorAdded

void QgsGeometryChecker::errorAdded ( QgsGeometryCheckError error)
signal

◆ errorUpdated

void QgsGeometryChecker::errorUpdated ( QgsGeometryCheckError error,
bool  statusChanged 
)
signal

◆ execute()

QFuture< void > QgsGeometryChecker::execute ( int *  totalSteps = nullptr)

Definition at line 65 of file qgsgeometrychecker.cpp.

◆ featurePools()

const QMap<QString, QgsFeaturePool *> QgsGeometryChecker::featurePools ( ) const
inline

Definition at line 59 of file qgsgeometrychecker.h.

◆ fixError()

bool QgsGeometryChecker::fixError ( QgsGeometryCheckError error,
int  method,
bool  triggerRepaint = false 
)

Definition at line 104 of file qgsgeometrychecker.cpp.

◆ getChecks()

const QList<QgsGeometryCheck *> QgsGeometryChecker::getChecks ( ) const
inline

Definition at line 55 of file qgsgeometrychecker.h.

◆ getContext()

QgsGeometryCheckContext* QgsGeometryChecker::getContext ( ) const
inline

Definition at line 58 of file qgsgeometrychecker.h.

◆ getMessages()

QStringList QgsGeometryChecker::getMessages ( ) const
inline

Definition at line 56 of file qgsgeometrychecker.h.

◆ progressValue

void QgsGeometryChecker::progressValue ( int  value)
signal

◆ setMergeAttributeIndices()

void QgsGeometryChecker::setMergeAttributeIndices ( const QMap< QString, int > &  mergeAttributeIndices)
inline

Definition at line 57 of file qgsgeometrychecker.h.


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