Rename getFeatureIds() to allFeatureIds()

This commit is contained in:
Matthias Kuhn 2018-09-10 07:57:04 +02:00
parent e0926e4445
commit 1b4e007937
4 changed files with 4 additions and 4 deletions

View File

@ -63,7 +63,7 @@ bool QgsFeaturePool::getFeature( QgsFeatureId id, QgsFeature &feature )
return true;
}
QgsFeatureIds QgsFeaturePool::getFeatureIds() const
QgsFeatureIds QgsFeaturePool::allFeatureIds() const
{
return mFeatureIds;
}

View File

@ -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

View File

@ -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;
}

View File

@ -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
{