Skip to content
Permalink
Browse files

dox

  • Loading branch information
m-kuhn committed Sep 18, 2018
1 parent 6db25b9 commit 32dae284e8387827566a4bd1a66ec6e5d35839a8
Showing with 21 additions and 0 deletions.
  1. +21 −0 src/analysis/vector/geometry_checker/qgssinglegeometrycheck.h
@@ -30,8 +30,11 @@ class QgsFeature;
class QgsSingleGeometryCheck;

/**
* \ingroup analysis
*
* An error from a QgsSingleGeometryCheck.
*
* \since QGIS 3.4
*/
class ANALYSIS_EXPORT QgsSingleGeometryCheckError
{
@@ -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;

/**

0 comments on commit 32dae28

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