QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
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 unique ID, geometry and a list of field...
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