Skip to content

Commit 32dae28

Browse files
committedSep 18, 2018
dox
1 parent 6db25b9 commit 32dae28

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
 

‎src/analysis/vector/geometry_checker/qgssinglegeometrycheck.h

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,11 @@ class QgsFeature;
3030
class QgsSingleGeometryCheck;
3131

3232
/**
33+
* \ingroup analysis
34+
*
3335
* An error from a QgsSingleGeometryCheck.
3436
*
37+
* \since QGIS 3.4
3538
*/
3639
class ANALYSIS_EXPORT QgsSingleGeometryCheckError
3740
{
@@ -45,9 +48,27 @@ class ANALYSIS_EXPORT QgsSingleGeometryCheckError
4548

4649
virtual ~QgsSingleGeometryCheckError() = default;
4750

51+
/**
52+
* Update this error with the information from \other.
53+
* Will be used to update existing errors whenever they are re-checked.
54+
*/
4855
virtual void update( const QgsSingleGeometryCheckError *other );
56+
57+
/**
58+
* Check if this error is equal to \a other.
59+
* Is reimplemented by subclasses with additional information, comparison
60+
* of base information is done in parent class.
61+
*/
4962
virtual bool isEqual( const QgsSingleGeometryCheckError *other ) const;
63+
64+
/**
65+
* Apply a list of \a changes.
66+
*/
5067
virtual bool handleChanges( const QList<QgsGeometryCheck::Change> &changes );
68+
69+
/**
70+
* A human readable description of this error.
71+
*/
5172
virtual QString description() const;
5273

5374
/**

0 commit comments

Comments
 (0)
Please sign in to comment.