QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
16 #ifndef QGSCACHEINDEX_H
17 #define QGSCACHEINDEX_H
19 #include "qgis_core.h"
82 #endif // QGSCACHEINDEX_H
virtual ~QgsAbstractCacheIndex()=default
virtual void flushFeature(QgsFeatureId fid)=0
Is called whenever a feature is removed from the cache.
virtual void flush()=0
Sometimes, the whole cache changes its state and its easier to just withdraw everything.
This class wraps a request for features to a vector layer (or directly its vector data provider).
QgsAbstractCacheIndex()=default
Constructor for QgsAbstractCacheIndex.
QSet< QgsFeatureId > QgsFeatureIds
Abstract base class for cache indices.
Wrapper for iterator of features from vector data provider or vector layer.
virtual bool getCacheIterator(QgsFeatureIterator &featureIterator, const QgsFeatureRequest &featureRequest)=0
Is called when a feature request is issued on a cached layer.
qint64 QgsFeatureId
64 bit feature ids negative numbers are used for uncommitted/newly added features