Skip to content
Permalink
Browse files

Rename getFeatureIds() to allFeatureIds()

  • Loading branch information
m-kuhn committed Sep 10, 2018
1 parent e0926e4 commit 1b4e0079372d1808b12bac1d8a97e65515d445f3
@@ -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
{

0 comments on commit 1b4e007

Please sign in to comment.
You can’t perform that action at this time.