File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
src/analysis/vector/geometry_checker Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -160,10 +160,29 @@ class ANALYSIS_EXPORT QgsGeometryCheckError
160160 void setFixed ( int method );
161161 void setFixFailed ( const QString &reason );
162162 void setObsolete () { mStatus = StatusObsolete; }
163+
164+ /* *
165+ * Check if this error is equal to \a other.
166+ * Is reimplemented by subclasses with additional information, comparison
167+ * of base information is done in parent class.
168+ */
163169 virtual bool isEqual ( QgsGeometryCheckError *other ) const ;
170+
171+ /* *
172+ * Check if this error is almost equal to \a other.
173+ * If this returns true, it can be used to update existing errors after re-checking.
174+ */
164175 virtual bool closeMatch ( QgsGeometryCheckError * /* other*/ ) const ;
176+
177+ /* *
178+ * Update this error with the information from \other.
179+ * Will be used to update existing errors whenever they are re-checked.
180+ */
165181 virtual void update ( const QgsGeometryCheckError *other );
166182
183+ /* *
184+ * Apply a list of \a changes.
185+ */
167186 virtual bool handleChanges ( const QgsGeometryCheck::Changes &changes );
168187
169188 protected:
You can’t perform that action at this time.
0 commit comments