QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
28 if ( mBackend->
addFeature( layer, defaultValues, defaultGeometry, f ) )
30 mAddedFeatures[layer].insert( f->
id() );
60 return mBackend->
copyMoveFeatures( layer, request, dx, dy, errorMsg, topologicalEditing, topologicalLayer );
70 QMapIterator<QgsVectorLayer *, QgsFeatureIds> it( mAddedFeatures );
71 while ( it.hasNext() )
74 it.key()->deleteFeatures( it.value() );
77 mAddedFeatures.clear();
This class wraps a request for features to a vector layer (or directly its vector data provider).
QMap< int, QVariant > QgsAttributeMap
A geometry is the spatial representation of a feature.
Represents a vector layer which manages a vector based data sets.
The feature class encapsulates a single feature including its id, geometry and a list of field/values...