22   : C( cachedVectorLayer )
    38   Q_UNUSED( featureRequest )
 Wrapper for iterator of features from vector data provider or vector layer. 
 
void requestCompleted(const QgsFeatureRequest &featureRequest, const QgsFeatureIds &fids) override
Implement this method to update the the indices, in case you need information contained by the reques...
 
Filter using feature IDs. 
 
QSet< QgsFeatureId > QgsFeatureIds
 
QgsFeatureId filterFid() const
Gets the feature ID that should be fetched. 
 
FilterType filterType() const
Returns the filter type which is currently set on this request. 
 
const QgsFeatureIds & filterFids() const
Gets feature IDs that should be fetched. 
 
QgsCacheIndexFeatureId(QgsVectorLayerCache *)
 
bool isFidCached(QgsFeatureId fid) const
Check if a certain feature id is cached. 
 
QgsFeatureIds cachedFeatureIds() const
Returns the set of feature IDs for features which are cached. 
 
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. 
 
void flushFeature(QgsFeatureId fid) override
Is called, whenever a feature is removed from the cache. 
 
Delivers features from the cache. 
 
void flush() override
Sometimes, the whole cache changes its state and its easier to just withdraw everything. 
 
bool getCacheIterator(QgsFeatureIterator &featureIterator, const QgsFeatureRequest &featureRequest) override
Is called, when a feature request is issued on a cached layer. 
 
bool hasFullCache() const
Returns true if the cache is complete, ie it contains all features.