30 if ( mBackend->
addFeature( layer, defaultValues, defaultGeometry, f ) )
32 mAddedFeatures[layer].insert( f->
id() );
71 it.
key()->deleteFeatures( it.
value() );
74 mAddedFeatures.clear();
A geometry is the spatial representation of a feature.
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
QgsFeatureId id() const
Get the feature ID for this feature.
Represents a vector layer which manages a vector based data sets.