Skip to content

Commit

Permalink
More dox
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Sep 18, 2018
1 parent 392392b commit 0e1f1c2
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/analysis/vector/geometry_checker/qgsgeometrycheck.h
Expand Up @@ -160,10 +160,29 @@ class ANALYSIS_EXPORT QgsGeometryCheckError
void setFixed( int method );
void setFixFailed( const QString &reason );
void setObsolete() { mStatus = StatusObsolete; }

/**
* Check if this error is equal to \a other.
* Is reimplemented by subclasses with additional information, comparison
* of base information is done in parent class.
*/
virtual bool isEqual( QgsGeometryCheckError *other ) const;

/**
* Check if this error is almost equal to \a other.
* If this returns true, it can be used to update existing errors after re-checking.
*/
virtual bool closeMatch( QgsGeometryCheckError * /*other*/ ) const;

/**
* Update this error with the information from \other.
* Will be used to update existing errors whenever they are re-checked.
*/
virtual void update( const QgsGeometryCheckError *other );

/**
* Apply a list of \a changes.
*/
virtual bool handleChanges( const QgsGeometryCheck::Changes &changes );

protected:
Expand Down

0 comments on commit 0e1f1c2

Please sign in to comment.