QGIS API Documentation  3.20.0-Odense (decaadbb31)
Classes | Public Member Functions | List of all members
QgsGeometryCheckerUtils::LayerFeatures Class Reference

Contains a set of layers and feature ids in those layers to pass to a geometry check. More...

#include <qgsgeometrycheckerutils.h>

Classes

class  iterator
 An iterator over all features in a QgsGeometryCheckerUtils::LayerFeatures. More...
 

Public Member Functions

 LayerFeatures (const QMap< QString, QgsFeaturePool * > &featurePools, const QList< QString > &layerIds, const QgsRectangle &extent, const QList< QgsWkbTypes::GeometryType > &geometryTypes, const QgsGeometryCheckContext *context)
 Creates a new set of layer and features. More...
 
 LayerFeatures (const QMap< QString, QgsFeaturePool * > &featurePools, const QMap< QString, QgsFeatureIds > &featureIds, const QList< QgsWkbTypes::GeometryType > &geometryTypes, QgsFeedback *feedback, const QgsGeometryCheckContext *context, bool useMapCrs=false)
 Creates a new set of layer and features. More...
 
iterator begin () const
 The first feature to start iterating. More...
 
iterator end () const
 One after the last feature to stop iterating. More...
 

Detailed Description

Contains a set of layers and feature ids in those layers to pass to a geometry check.

Since
QGIS 3.4

Definition at line 112 of file qgsgeometrycheckerutils.h.

Constructor & Destructor Documentation

◆ LayerFeatures() [1/2]

QgsGeometryCheckerUtils::LayerFeatures::LayerFeatures ( const QMap< QString, QgsFeaturePool * > &  featurePools,
const QMap< QString, QgsFeatureIds > &  featureIds,
const QList< QgsWkbTypes::GeometryType > &  geometryTypes,
QgsFeedback feedback,
const QgsGeometryCheckContext context,
bool  useMapCrs = false 
)

Creates a new set of layer and features.

Definition at line 210 of file qgsgeometrycheckerutils.cpp.

◆ LayerFeatures() [2/2]

QgsGeometryCheckerUtils::LayerFeatures::LayerFeatures ( const QMap< QString, QgsFeaturePool * > &  featurePools,
const QList< QString > &  layerIds,
const QgsRectangle extent,
const QList< QgsWkbTypes::GeometryType > &  geometryTypes,
const QgsGeometryCheckContext context 
)

Creates a new set of layer and features.

Definition at line 225 of file qgsgeometrycheckerutils.cpp.

Member Function Documentation

◆ begin()

QgsGeometryCheckerUtils::LayerFeatures::iterator QgsGeometryCheckerUtils::LayerFeatures::begin ( ) const

The first feature to start iterating.

Definition at line 251 of file qgsgeometrycheckerutils.cpp.

◆ end()

QgsGeometryCheckerUtils::LayerFeatures::iterator QgsGeometryCheckerUtils::LayerFeatures::end ( ) const

One after the last feature to stop iterating.

Definition at line 256 of file qgsgeometrycheckerutils.cpp.


The documentation for this class was generated from the following files: