"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/analysis/vector/geometry_checker/qgsgeometryholecheck.h" between
QGIS-final-3_10_11.tar.gz and QGIS-final-3_10_12.tar.gz

About: QGIS (Quantum GIS) is a Geographic Information System that supports vector, raster, and database formats. Long-term release (3.10.x series).

qgsgeometryholecheck.h  (QGIS-final-3_10_11):qgsgeometryholecheck.h  (QGIS-final-3_10_12)
skipping to change at line 28 skipping to change at line 28
#ifndef QGS_GEOMETRY_HOLE_CHECK_H #ifndef QGS_GEOMETRY_HOLE_CHECK_H
#define QGS_GEOMETRY_HOLE_CHECK_H #define QGS_GEOMETRY_HOLE_CHECK_H
#include "qgsgeometrycheck.h" #include "qgsgeometrycheck.h"
/** /**
* \ingroup analysis * \ingroup analysis
*/ */
class ANALYSIS_EXPORT QgsGeometryHoleCheck : public QgsGeometryCheck class ANALYSIS_EXPORT QgsGeometryHoleCheck : public QgsGeometryCheck
{ {
Q_DECLARE_TR_FUNCTIONS( QgsGeometryHoleCheck )
public: public:
explicit QgsGeometryHoleCheck( QgsGeometryCheckContext *context, const QVari antMap &configuration ) explicit QgsGeometryHoleCheck( QgsGeometryCheckContext *context, const QVari antMap &configuration )
: QgsGeometryCheck( context, configuration ) {} : QgsGeometryCheck( context, configuration ) {}
static QList<QgsWkbTypes::GeometryType> factoryCompatibleGeometryTypes() {re turn {QgsWkbTypes::PolygonGeometry}; } static QList<QgsWkbTypes::GeometryType> factoryCompatibleGeometryTypes() {re turn {QgsWkbTypes::PolygonGeometry}; }
static bool factoryIsCompatible( QgsVectorLayer *layer ) SIP_SKIP { return f actoryCompatibleGeometryTypes().contains( layer->geometryType() ); } static bool factoryIsCompatible( QgsVectorLayer *layer ) SIP_SKIP { return f actoryCompatibleGeometryTypes().contains( layer->geometryType() ); }
QList<QgsWkbTypes::GeometryType> compatibleGeometryTypes() const override { return factoryCompatibleGeometryTypes(); } QList<QgsWkbTypes::GeometryType> compatibleGeometryTypes() const override { return factoryCompatibleGeometryTypes(); }
void collectErrors( const QMap<QString, QgsFeaturePool *> &featurePools, QLi st<QgsGeometryCheckError *> &errors, QStringList &messages, QgsFeedback *feedbac k, const LayerFeatureIds &ids = LayerFeatureIds() ) const override; void collectErrors( const QMap<QString, QgsFeaturePool *> &featurePools, QLi st<QgsGeometryCheckError *> &errors, QStringList &messages, QgsFeedback *feedbac k, const LayerFeatureIds &ids = LayerFeatureIds() ) const override;
void fixError( const QMap<QString, QgsFeaturePool *> &featurePools, QgsGeome tryCheckError *error, int method, const QMap<QString, int> &mergeAttributeIndice s, Changes &changes ) const override; void fixError( const QMap<QString, QgsFeaturePool *> &featurePools, QgsGeome tryCheckError *error, int method, const QMap<QString, int> &mergeAttributeIndice s, Changes &changes ) const override;
QStringList resolutionMethods() const override; QStringList resolutionMethods() const override;
static QString factoryDescription() { return tr( "Polygon with hole" ); } static QString factoryDescription() { return tr( "Polygon with hole" ); }
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)