18 #ifndef QGSGEOMETRYCHECKERROR_H 19 #define QGSGEOMETRYCHECKERROR_H 21 #include "qgis_analysis.h" 70 const QVariant &value = QVariant(),
85 const QString &
layerId()
const {
return mLayerId; }
106 virtual QString
description()
const {
return mCheck->description(); }
118 QVariant
value()
const {
return mValue; }
146 void setFixed(
int method );
151 void setFixFailed(
const QString &reason );
193 const QString &layerId,
198 const QVariant &value = QVariant(),
216 #endif // QGSGEOMETRYCHECKERROR_H
A rectangle specified with double values.
The error is detected and pending to be handled.
QString mResolutionMessage
Status
The status of an error.
A class to represent a 2D point.
const QgsPointXY & location() const
The location of the error in map units.
A geometry is the spatial representation of a feature.
ValueType
Describes the type of an error value.
void setObsolete()
Set the error status to obsolete.
Q_DECLARE_METATYPE(QModelIndex)
const QgsGeometryCheck * check() const
The geometry check that created this error.
Utility class for identifying a unique vertex within a geometry.
A layer feature combination to uniquely identify and access a feature in a set of layers...
This class implements a geometry check.
QString resolutionMessage() const
A message with details, how the error has been resolved.
const QString & layerId() const
The id of the layer on which this error has been detected.
Status status() const
The status of the error.
QMap< QString, QMap< QgsFeatureId, QList< QgsGeometryCheck::Change > > > Changes
A collection of changes.
A fix has been tried on the error but failed.
virtual QString description() const
The error description.
QgsFeatureId featureId() const
The id of the feature on which this error has been detected.
This represents an error reported by a geometry check.
QgsPointXY mErrorLocation
QVariant value() const
An additional value for the error.
ValueType valueType() const
The type of the value.
const QgsVertexId & vidx() const
The id of the affected vertex.