QGIS API Documentation 3.37.0-Master (fdefdf9c27f)
Public Member Functions | List of all members
QgsGeometryTypeCheckError Class Reference

A geometry type check error. More...

#include <qgsgeometrytypecheck.h>

Inheritance diagram for QgsGeometryTypeCheckError:
Inheritance graph
[legend]

Public Member Functions

 QgsGeometryTypeCheckError (const QgsSingleGeometryCheck *check, const QgsGeometry &geometry, const QgsGeometry &errorLocation, Qgis::WkbType flatType)
 Constructor for QgsGeometryTypeCheckError. More...
 
QString description () const override
 A human readable description of this error. More...
 
bool isEqual (const QgsSingleGeometryCheckError *other) const override
 Check if this error is equal to other. More...
 
- 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. More...
 
virtual ~QgsSingleGeometryCheckError ()=default
 
const QgsSingleGeometryCheckcheck () const
 The check that created this error. More...
 
virtual QString description () const
 A human readable description of this error. More...
 
QgsGeometry errorLocation () const
 The exact location of the error. More...
 
virtual bool handleChanges (const QList< QgsGeometryCheck::Change > &changes)
 Apply a list of changes. More...
 
virtual bool isEqual (const QgsSingleGeometryCheckError *other) const
 Check if this error is equal to other. More...
 
virtual void update (const QgsSingleGeometryCheckError *other)
 Update this error with the information from other. More...
 
QgsVertexId vertexId () const
 The vertex id of the error. More...
 

Additional Inherited Members

- Protected Attributes inherited from QgsSingleGeometryCheckError
const QgsSingleGeometryCheckmCheck = nullptr
 
QgsGeometry mErrorLocation
 
QgsGeometry mGeometry
 
QgsVertexId mVertexId
 

Detailed Description

A geometry type check error.

Definition at line 27 of file qgsgeometrytypecheck.h.

Constructor & Destructor Documentation

◆ QgsGeometryTypeCheckError()

QgsGeometryTypeCheckError::QgsGeometryTypeCheckError ( const QgsSingleGeometryCheck check,
const QgsGeometry geometry,
const QgsGeometry errorLocation,
Qgis::WkbType  flatType 
)
inline

Constructor for QgsGeometryTypeCheckError.

Parameters
checkassociated geometry check
geometryoriginal geometry
errorLocationlocation of geometry error
flatTypegeometry flat type

Definition at line 38 of file qgsgeometrytypecheck.h.

Member Function Documentation

◆ description()

QString QgsGeometryTypeCheckError::description ( ) const
overridevirtual

A human readable description of this error.

Reimplemented from QgsSingleGeometryCheckError.

Definition at line 193 of file qgsgeometrytypecheck.cpp.

◆ isEqual()

bool QgsGeometryTypeCheckError::isEqual ( const QgsSingleGeometryCheckError other) const
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.


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