Skip to content

Commit

Permalink
dox
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Sep 18, 2018
1 parent 6db25b9 commit 32dae28
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/analysis/vector/geometry_checker/qgssinglegeometrycheck.h
Expand Up @@ -30,8 +30,11 @@ class QgsFeature;
class QgsSingleGeometryCheck;

/**
* \ingroup analysis
*
* An error from a QgsSingleGeometryCheck.
*
* \since QGIS 3.4
*/
class ANALYSIS_EXPORT QgsSingleGeometryCheckError
{
Expand All @@ -45,9 +48,27 @@ class ANALYSIS_EXPORT QgsSingleGeometryCheckError

virtual ~QgsSingleGeometryCheckError() = default;

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

/**
* 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( const QgsSingleGeometryCheckError *other ) const;

/**
* Apply a list of \a changes.
*/
virtual bool handleChanges( const QList<QgsGeometryCheck::Change> &changes );

/**
* A human readable description of this error.
*/
virtual QString description() const;

/**
Expand Down

0 comments on commit 32dae28

Please sign in to comment.