16 #ifndef QGSVECTORDATAPROVIDERFEATUREPOOL_H 17 #define QGSVECTORDATAPROVIDERFEATUREPOOL_H 46 bool mSelectedOnly =
false;
49 #endif // QGSVECTORDATAPROVIDERFEATUREPOOL_H QList< QgsFeature > QgsFeatureList
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.
A feature pool based on a vector data provider.
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.