18#include "moc_qgstrackedvectorlayertools.cpp"
30 if ( mBackend->
addFeatureV2( layer, defaultValues, defaultGeometry, f, context ) )
32 mAddedFeatures[layer].insert( f->
id() );
62 return mBackend->
copyMoveFeatures( layer, request, dx, dy, errorMsg, topologicalEditing, topologicalLayer, childrenInfoMsg );
72 QMapIterator<QgsVectorLayer *, QgsFeatureIds> it( mAddedFeatures );
73 while ( it.hasNext() )
76 it.key()->deleteFeatures( it.value() );
79 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