Remove invalid doxygen note

It's only flipping a bool, and possibly in some circumstances
it's more efficient to add features one by one rather than storing
large number of features in a temporary list
This commit is contained in:
Nyall Dawson 2017-04-26 11:31:42 +10:00
parent 1280779617
commit e273ec7345
2 changed files with 0 additions and 19 deletions

View File

@ -903,16 +903,6 @@ Return the provider type for this layer
virtual bool addFeature( QgsFeature &feature );
%Docstring
Adds a single ``feature`` to the layer.
Calling this method causes the layer to recalculate it's extents, which can be
expensive. If multiple features are to be added to the layer then it is more
efficient to call addFeatures(), as addFeatures() will only trigger a single
layer extent recalculation.
\see addFeatures()
:return: true in case of success and false in case of failure
:rtype: bool
%End
bool updateFeature( QgsFeature &f );
%Docstring

View File

@ -872,15 +872,6 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
return getFeatures( QgsFeatureRequest( rectangle ) );
}
/**
* Adds a single \a feature to the layer.
* Calling this method causes the layer to recalculate it's extents, which can be
* expensive. If multiple features are to be added to the layer then it is more
* efficient to call addFeatures(), as addFeatures() will only trigger a single
* layer extent recalculation.
* \see addFeatures()
* \returns true in case of success and false in case of failure
*/
bool addFeature( QgsFeature &feature ) override;
/** Updates an existing feature. This method needs to query the datasource