QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
16 #ifndef QGSVECTORDATAPROVIDERFEATUREPOOL_H
17 #define QGSVECTORDATAPROVIDERFEATUREPOOL_H
40 bool addFeature(
QgsFeature &feature, QgsFeatureSink::Flags flags = QgsFeatureSink::Flags() )
override;
46 bool mSelectedOnly =
false;
49 #endif // QGSVECTORDATAPROVIDERFEATUREPOOL_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 data provider.
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