mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
Rename getFeatureIds() to allFeatureIds()
This commit is contained in:
parent
e0926e4445
commit
1b4e007937
@ -63,7 +63,7 @@ bool QgsFeaturePool::getFeature( QgsFeatureId id, QgsFeature &feature )
|
||||
return true;
|
||||
}
|
||||
|
||||
QgsFeatureIds QgsFeaturePool::getFeatureIds() const
|
||||
QgsFeatureIds QgsFeaturePool::allFeatureIds() const
|
||||
{
|
||||
return mFeatureIds;
|
||||
}
|
||||
|
@ -64,7 +64,7 @@ class ANALYSIS_EXPORT QgsFeaturePool : public QgsFeatureSink
|
||||
* Returns the complete set of feature ids in this pool.
|
||||
* Note that this concerns the features governed by this pool, which are not necessarily all cached.
|
||||
*/
|
||||
QgsFeatureIds getFeatureIds() const;
|
||||
QgsFeatureIds allFeatureIds() const;
|
||||
|
||||
/**
|
||||
* Get all feature ids in the bounding box \a rect. It will use a spatial index to
|
||||
|
@ -149,7 +149,7 @@ QMap<QString, QgsFeatureIds> QgsGeometryCheck::allLayerFeatureIds() const
|
||||
QMap<QString, QgsFeatureIds> featureIds;
|
||||
for ( QgsFeaturePool *pool : mContext->featurePools )
|
||||
{
|
||||
featureIds.insert( pool->layerId(), pool->getFeatureIds() );
|
||||
featureIds.insert( pool->layerId(), pool->allFeatureIds() );
|
||||
}
|
||||
return featureIds;
|
||||
}
|
||||
|
@ -68,7 +68,7 @@ QFuture<void> QgsGeometryChecker::execute( int *totalSteps )
|
||||
{
|
||||
if ( check->checkType() <= QgsGeometryCheck::FeatureCheck )
|
||||
{
|
||||
*totalSteps += check->isCompatible( it.value()->layer()->geometryType() ) ? it.value()->getFeatureIds().size() : 0;
|
||||
*totalSteps += check->isCompatible( it.value()->layer()->geometryType() ) ? it.value()->allFeatureIds().size() : 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user