QGIS/python/core/qgsgeometryvalidator.sip

48 lines
1.6 KiB
Plaintext
Raw Normal View History

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 *
************************************************************************/
class QgsGeometryValidator : QThread
{
2017-05-14 09:48:41 +02:00
%TypeHeaderCode
2017-05-14 09:48:41 +02:00
#include "qgsgeometryvalidator.h"
%End
public:
QgsGeometryValidator( const QgsGeometry *g, QList<QgsGeometry::Error> *errors = 0 );
2017-05-14 09:48:41 +02:00
%Docstring
Constructor
%End
~QgsGeometryValidator();
2017-05-14 09:48:41 +02:00
virtual void run();
void stop();
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
signals:
2017-05-14 09:48:41 +02:00
void errorFound( const QgsGeometry::Error & );
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 *
************************************************************************/