File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
src/analysis/vector/geometry_checker Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -30,8 +30,11 @@ class QgsFeature;
30
30
class QgsSingleGeometryCheck ;
31
31
32
32
/* *
33
+ * \ingroup analysis
34
+ *
33
35
* An error from a QgsSingleGeometryCheck.
34
36
*
37
+ * \since QGIS 3.4
35
38
*/
36
39
class ANALYSIS_EXPORT QgsSingleGeometryCheckError
37
40
{
@@ -45,9 +48,27 @@ class ANALYSIS_EXPORT QgsSingleGeometryCheckError
45
48
46
49
virtual ~QgsSingleGeometryCheckError () = default ;
47
50
51
+ /* *
52
+ * Update this error with the information from \other.
53
+ * Will be used to update existing errors whenever they are re-checked.
54
+ */
48
55
virtual void update ( const QgsSingleGeometryCheckError *other );
56
+
57
+ /* *
58
+ * Check if this error is equal to \a other.
59
+ * Is reimplemented by subclasses with additional information, comparison
60
+ * of base information is done in parent class.
61
+ */
49
62
virtual bool isEqual ( const QgsSingleGeometryCheckError *other ) const ;
63
+
64
+ /* *
65
+ * Apply a list of \a changes.
66
+ */
50
67
virtual bool handleChanges ( const QList<QgsGeometryCheck::Change> &changes );
68
+
69
+ /* *
70
+ * A human readable description of this error.
71
+ */
51
72
virtual QString description () const ;
52
73
53
74
/* *
You can’t perform that action at this time.
0 commit comments