QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
18 #ifndef QGSGEOMETRYCHECKERROR_H
19 #define QGSGEOMETRYCHECKERROR_H
21 #include "qgis_analysis.h"
70 const QVariant &value = QVariant(),
71 ValueType valueType = ValueOther );
85 const QString &
layerId()
const {
return mLayerId; }
116 virtual QString
description()
const {
return mCheck->description(); }
128 QVariant
value()
const {
return mValue; }
156 void setFixed(
int method );
161 void setFixFailed(
const QString &reason );
199 virtual QMap<QString, QgsFeatureIds > involvedFeatures() const
SIP_SKIP;
206 virtual QIcon icon() const;
218 const QString &layerId,
223 const QVariant &value = QVariant(),
224 ValueType valueType = ValueOther );
235 QString mResolutionMessage;
246 #endif // QGSGEOMETRYCHECKERROR_H
QVariant value() const
An additional value for the error.
ValueType valueType() const
The type of the value.
@ ValueArea
The value is an area.
@ ValueLength
The value is a length.
const QgsGeometryCheck * check() const
The geometry check that created this error.
@ StatusFixed
The error is fixed.
ValueType
Describes the type of an error value.
void setObsolete()
Set the error status to obsolete.
QgsFeatureId featureId() const
The id of the feature on which this error has been detected.
QMap< QString, QMap< QgsFeatureId, QList< QgsGeometryCheck::Change > > > Changes
A collection of changes.
QString resolutionMessage() const
A message with details, how the error has been resolved.
Status
The status of an error.
A rectangle specified with double values.
This class implements a geometry check.
const QgsPointXY & location() const
The location of the error in map units.
virtual QString description() const
The error description.
A layer feature combination to uniquely identify and access a feature in a set of layers.
Status status() const
The status of the error.
@ StatusFixFailed
A fix has been tried on the error but failed.
const QgsVertexId & vidx() const
The id of the affected vertex.
A class to represent a 2D point.
A geometry is the spatial representation of a feature.
Utility class for identifying a unique vertex within a geometry.
Q_DECLARE_METATYPE(QgsDatabaseQueryLogEntry)
@ StatusPending
The error is detected and pending to be handled.
const QString & layerId() const
The id of the layer on which this error has been detected.
This represents an error reported by a geometry check.
qint64 QgsFeatureId
64 bit feature ids negative numbers are used for uncommitted/newly added features