Skip to content
Permalink
Browse files

More dox

  • Loading branch information
m-kuhn committed Sep 18, 2018
1 parent 392392b commit 0e1f1c2c97afeebca05c00b869d60d635e1eed24
Showing with 19 additions and 0 deletions.
  1. +19 −0 src/analysis/vector/geometry_checker/qgsgeometrycheck.h
@@ -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:

0 comments on commit 0e1f1c2

Please sign in to comment.
You can’t perform that action at this time.