QGIS/python/core/auto_generated/qgsgeometryvalidator.sip.in

49 lines
1.8 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:
2018-03-12 12:17:55 +10:00
QgsGeometryValidator( const QgsGeometry &geometry, QVector<QgsGeometry::Error> *errors = 0, QgsGeometry::ValidationMethod method = QgsGeometry::ValidatorQgisInternal );
2017-05-14 09:48:41 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Constructor for QgsGeometryValidator.
2017-05-14 09:48:41 +02:00
%End
~QgsGeometryValidator();
2017-05-14 09:48:41 +02:00
virtual void run();
2017-06-08 07:28:36 +02:00
void stop();
static void validateGeometry( const QgsGeometry &geometry, QVector<QgsGeometry::Error> &errors /Out/, QgsGeometry::ValidationMethod method = QgsGeometry::ValidatorQgisInternal );
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 & );
};
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 *
************************************************************************/