QGIS API Documentation  2.99.0-Master (bdf46d7)
Public Slots | Signals | Public Member Functions | Static Public Member Functions | List of all members
QgsGeometryValidator Class Reference

#include <qgsgeometryvalidator.h>

Inheritance diagram for QgsGeometryValidator:
Inheritance graph

Public Slots

void addError (const QgsGeometry::Error &)


void errorFound (const QgsGeometry::Error &)

Public Member Functions

 QgsGeometryValidator (const QgsGeometry *g, QList< QgsGeometry::Error > *errors=nullptr)
 Constructor. More...
 ~QgsGeometryValidator ()
void run () override
void stop ()

Static Public Member Functions

static void validateGeometry (const QgsGeometry *g, QList< QgsGeometry::Error > &errors)
 Validate geometry and produce a list of geometry errors. More...

Detailed Description

Definition at line 26 of file qgsgeometryvalidator.h.

Constructor & Destructor Documentation

◆ QgsGeometryValidator()

QgsGeometryValidator::QgsGeometryValidator ( const QgsGeometry g,
QList< QgsGeometry::Error > *  errors = nullptr 


Definition at line 22 of file qgsgeometryvalidator.cpp.

◆ ~QgsGeometryValidator()

QgsGeometryValidator::~QgsGeometryValidator ( )

Definition at line 33 of file qgsgeometryvalidator.cpp.

Member Function Documentation

◆ addError

void QgsGeometryValidator::addError ( const QgsGeometry::Error e)

Definition at line 348 of file qgsgeometryvalidator.cpp.

◆ errorFound

void QgsGeometryValidator::errorFound ( const QgsGeometry::Error )

◆ run()

void QgsGeometryValidator::run ( )

Definition at line 215 of file qgsgeometryvalidator.cpp.

◆ stop()

void QgsGeometryValidator::stop ( )

Definition at line 39 of file qgsgeometryvalidator.cpp.

◆ validateGeometry()

void QgsGeometryValidator::validateGeometry ( const QgsGeometry g,
QList< QgsGeometry::Error > &  errors 

Validate geometry and produce a list of geometry errors.

Definition at line 354 of file qgsgeometryvalidator.cpp.

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