QGIS API Documentation 3.41.0-Master (45a0abf3bec)
|
A geometry type check error. More...
#include <qgsgeometrytypecheck.h>
Public Member Functions | |
QgsGeometryTypeCheckError (const QgsSingleGeometryCheck *check, const QgsGeometry &geometry, const QgsGeometry &errorLocation, Qgis::WkbType flatType) | |
Constructor for QgsGeometryTypeCheckError. | |
QString | description () const override |
A human readable description of this error. | |
bool | isEqual (const QgsSingleGeometryCheckError *other) const override |
Check if this error is equal to other. | |
Public Member Functions inherited from QgsSingleGeometryCheckError | |
QgsSingleGeometryCheckError (const QgsSingleGeometryCheck *check, const QgsGeometry &geometry, const QgsGeometry &errorLocation, const QgsVertexId &vertexId=QgsVertexId()) | |
Creates a new single geometry check error. | |
virtual | ~QgsSingleGeometryCheckError ()=default |
const QgsSingleGeometryCheck * | check () const |
The check that created this error. | |
QgsGeometry | errorLocation () const |
The exact location of the error. | |
virtual bool | handleChanges (const QList< QgsGeometryCheck::Change > &changes) |
Apply a list of changes. | |
virtual void | update (const QgsSingleGeometryCheckError *other) |
Update this error with the information from other. | |
QgsVertexId | vertexId () const |
The vertex id of the error. | |
Additional Inherited Members | |
Protected Attributes inherited from QgsSingleGeometryCheckError | |
const QgsSingleGeometryCheck * | mCheck = nullptr |
QgsGeometry | mErrorLocation |
QgsGeometry | mGeometry |
QgsVertexId | mVertexId |
A geometry type check error.
Definition at line 27 of file qgsgeometrytypecheck.h.
|
inline |
Constructor for QgsGeometryTypeCheckError.
check | associated geometry check |
geometry | original geometry |
errorLocation | location of geometry error |
flatType | geometry flat type |
Definition at line 38 of file qgsgeometrytypecheck.h.
|
overridevirtual |
A human readable description of this error.
Reimplemented from QgsSingleGeometryCheckError.
Definition at line 193 of file qgsgeometrytypecheck.cpp.
|
overridevirtual |
Check if this error is equal to other.
Is reimplemented by subclasses with additional information, comparison of base information is done in parent class.
Reimplemented from QgsSingleGeometryCheckError.
Definition at line 187 of file qgsgeometrytypecheck.cpp.