"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/analysis/vector/geometry_checker/qgsgeometrymultipartcheck.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).

qgsgeometrymultipartcheck.h  (QGIS-final-3_10_11):qgsgeometrymultipartcheck.h  (QGIS-final-3_10_12)
skipping to change at line 28 skipping to change at line 28
#ifndef QGS_GEOMETRY_MULTIPART_CHECK_H #ifndef QGS_GEOMETRY_MULTIPART_CHECK_H
#define QGS_GEOMETRY_MULTIPART_CHECK_H #define QGS_GEOMETRY_MULTIPART_CHECK_H
#include "qgssinglegeometrycheck.h" #include "qgssinglegeometrycheck.h"
/** /**
* \ingroup analysis * \ingroup analysis
*/ */
class ANALYSIS_EXPORT QgsGeometryMultipartCheck : public QgsSingleGeometryCheck class ANALYSIS_EXPORT QgsGeometryMultipartCheck : public QgsSingleGeometryCheck
{ {
Q_DECLARE_TR_FUNCTIONS( QgsGeometryMultipartCheck )
public: public:
explicit QgsGeometryMultipartCheck( QgsGeometryCheckContext *context, const QVariantMap &configuration ) explicit QgsGeometryMultipartCheck( QgsGeometryCheckContext *context, const QVariantMap &configuration )
: QgsSingleGeometryCheck( context, : QgsSingleGeometryCheck( context,
configuration ) {} configuration ) {}
static QList<QgsWkbTypes::GeometryType> factoryCompatibleGeometryTypes() {re turn {QgsWkbTypes::PointGeometry, QgsWkbTypes::LineGeometry, QgsWkbTypes::Polygo nGeometry}; } static QList<QgsWkbTypes::GeometryType> factoryCompatibleGeometryTypes() {re turn {QgsWkbTypes::PointGeometry, QgsWkbTypes::LineGeometry, QgsWkbTypes::Polygo nGeometry}; }
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(); }
QList<QgsSingleGeometryCheckError *> processGeometry( const QgsGeometry &geo metry ) const override; QList<QgsSingleGeometryCheckError *> processGeometry( const QgsGeometry &geo metry ) 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;
 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)