QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
16 #ifndef QGSVECTORLAYERFEATUREPOOL_H
17 #define QGSVECTORLAYERFEATUREPOOL_H
41 bool addFeature(
QgsFeature &feature, QgsFeatureSink::Flags flags = QgsFeatureSink::Flags() )
override;
51 #endif // QGSVECTORLAYERFEATUREPOOL_H
virtual bool addFeature(QgsFeature &feature, QgsFeatureSink::Flags flags=QgsFeatureSink::Flags())
Adds a single feature to the sink.
virtual void deleteFeature(QgsFeatureId fid)=0
Removes a feature from this pool.
virtual void updateFeature(QgsFeature &feature)=0
Updates a feature in this pool.
QList< QgsFeature > QgsFeatureList
A feature pool based on a vector layer.
A geometry is the spatial representation of a feature.
Represents a vector layer which manages a vector based data sets.
virtual bool addFeatures(QgsFeatureList &features, QgsFeatureSink::Flags flags=QgsFeatureSink::Flags())=0
Adds a list of features to the sink.
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
A feature pool is based on a vector layer and caches features.
qint64 QgsFeatureId
64 bit feature ids negative numbers are used for uncommitted/newly added features