16 #ifndef QGSCACHEDFEATUREITERATOR_H 17 #define QGSCACHEDFEATUREITERATOR_H 58 virtual bool rewind
65 virtual bool close
114 virtual bool rewind
121 virtual bool close
140 #endif // QGSCACHEDFEATUREITERATOR_H
Wrapper for iterator of features from vector data provider or vector layer.
virtual bool close()=0
end of iterating: free the resources / lock
virtual bool fetchFeature(QgsFeature &f)=0
If you write a feature iterator for your provider, this is the method you need to implement!! ...
virtual bool rewind()=0
reset the iterator to the starting position
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
Uses another iterator as backend and writes features to the cache.
Internal feature iterator to be implemented within data providers.
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 bool nextFeatureFilterFids(QgsFeature &f) override
We have a local special iterator for FilterFids, no need to run the generic.
Delivers features from the cache.