2017-05-14 09:48:41 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/core/qgsgeometryvalidator.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
class QgsGeometryValidator : QThread
|
|
|
|
{
|
2017-05-14 09:48:41 +02:00
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
%TypeHeaderCode
|
2017-05-14 09:48:41 +02:00
|
|
|
#include "qgsgeometryvalidator.h"
|
2012-09-24 02:28:15 +02:00
|
|
|
%End
|
|
|
|
public:
|
2015-05-04 21:00:08 +10:00
|
|
|
QgsGeometryValidator( const QgsGeometry *g, QList<QgsGeometry::Error> *errors = 0 );
|
2017-05-14 09:48:41 +02:00
|
|
|
%Docstring
|
|
|
|
Constructor
|
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
~QgsGeometryValidator();
|
|
|
|
|
2017-05-14 09:48:41 +02:00
|
|
|
virtual void run();
|
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
void stop();
|
|
|
|
|
2016-10-05 13:16:14 +10:00
|
|
|
static void validateGeometry( const QgsGeometry *g, QList<QgsGeometry::Error> &errors /Out/ );
|
2017-05-14 09:48:41 +02:00
|
|
|
%Docstring
|
|
|
|
Validate geometry and produce a list of geometry errors
|
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
|
|
|
|
signals:
|
2017-05-14 09:48:41 +02:00
|
|
|
void errorFound( const QgsGeometry::Error & );
|
2012-09-24 02:28:15 +02:00
|
|
|
|
|
|
|
public slots:
|
2017-05-14 09:48:41 +02:00
|
|
|
void addError( const QgsGeometry::Error & );
|
|
|
|
|
|
|
|
}; // class QgsGeometryValidator
|
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/core/qgsgeometryvalidator.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|