QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
Go to the documentation of this file.
16 #ifndef QGSCACHEINDEXFEATUREID_H
17 #define QGSCACHEINDEXFEATUREID_H
19 #include "qgis_core.h"
34 void flush()
override;
42 #endif // QGSCACHEINDEXFEATUREID_H
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...
virtual void flushFeature(QgsFeatureId fid)=0
Is called, whenever a feature is removed from the cache.
The cached features can be indexed by QgsAbstractCacheIndex.
virtual void flush()=0
Sometimes, the whole cache changes its state and its easier to just withdraw everything.
QSet< QgsFeatureId > QgsFeatureIds
Abstract base class for cache indices.
virtual bool getCacheIterator(QgsFeatureIterator &featureIterator, const QgsFeatureRequest &featureRequest)=0
Is called, when a feature request is issued on a cached layer.