Skip to content

Commit 0e1f1c2

Browse files
committed
More dox
1 parent 392392b commit 0e1f1c2

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

src/analysis/vector/geometry_checker/qgsgeometrycheck.h

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)