29 if ( mBackend->
addFeatureV2( layer, defaultValues, defaultGeometry, f, context ) )
31 mAddedFeatures[layer].insert( f->
id() );
61 return mBackend->
copyMoveFeatures( layer, request, dx, dy, errorMsg, topologicalEditing, topologicalLayer, childrenInfoMsg );
71 QMapIterator<QgsVectorLayer *, QgsFeatureIds> it( mAddedFeatures );
72 while ( it.hasNext() )
75 it.key()->deleteFeatures( it.value() );
78 mAddedFeatures.clear();
This class wraps a request for features to a vector layer (or directly its vector data provider).
The feature class encapsulates a single feature including its unique ID, geometry and a list of field...
A geometry is the spatial representation of a feature.
Contains settings which reflect the context in which vector layer tool operations should consider.
Represents a vector layer which manages a vector based data sets.
QMap< int, QVariant > QgsAttributeMap