16 #ifndef QGSVECTORLAYERFEATUREPOOL_H 17 #define QGSVECTORLAYERFEATUREPOOL_H 51 #endif // QGSVECTORLAYERFEATUREPOOL_H QList< QgsFeature > QgsFeatureList
A geometry is the spatial representation of a feature.
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
virtual void updateFeature(QgsFeature &feature)=0
Updates a feature in this pool.
virtual bool addFeature(QgsFeature &feature, QgsFeatureSink::Flags flags=nullptr)
Adds a single feature to the sink.
virtual bool addFeatures(QgsFeatureList &features, QgsFeatureSink::Flags flags=nullptr)=0
Adds a list of features to the sink.
A feature pool is based on a vector layer and caches features.
virtual void deleteFeature(QgsFeatureId fid)=0
Removes a feature from this pool.
Represents a vector layer which manages a vector based data sets.
A feature pool based on a vector layer.