16 #ifndef QGSCACHEINDEXFEATUREID_H 17 #define QGSCACHEINDEXFEATUREID_H 32 virtual void flush()
override;
40 #endif // QGSCACHEINDEXFEATUREID_H Wrapper for iterator of features from vector data provider or vector layer.
virtual void requestCompleted(const QgsFeatureRequest &featureRequest, const QgsFeatureIds &fids)
Implement this method to update the the indices, in case you need information contained by the reques...
This class wraps a request for features to a vector layer (or directly its vector data provider)...
This class caches features of a given QgsVectorLayer.
virtual void flush()=0
Sometimes, the whole cache changes its state and its easier to just withdraw everything.
virtual bool getCacheIterator(QgsFeatureIterator &featureIterator, const QgsFeatureRequest &featureRequest)=0
Is called, when a feature request is issued on a cached layer.
Abstract base class for cache indices.
virtual void flushFeature(const QgsFeatureId fid)=0
Is called, whenever a feature is removed from the cache.