QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
16 #ifndef QGSCACHEDFEATUREITERATOR_H
17 #define QGSCACHEDFEATUREITERATOR_H
19 #include "qgis_core.h"
58 bool close()
override;
86 QList< QgsFeatureId > mFeatureIds;
88 QList< QgsFeatureId >::ConstIterator mFeatureIdIterator;
93 std::unique_ptr< QgsGeometryEngine > mDistanceWithinEngine;
94 double mDistanceWithin = 0;
127 bool close()
override;
149 #endif // QGSCACHEDFEATUREITERATOR_H
Uses another iterator as backend and writes features to the cache.
This class caches features of a given QgsVectorLayer.
A rectangle specified with double values.
This class wraps a request for features to a vector layer (or directly its vector data provider).
QSet< QgsFeatureId > QgsFeatureIds
virtual bool rewind()=0
reset the iterator to the starting position
Delivers features from the cache.
A geometry is the spatial representation of a feature.
virtual bool fetchFeature(QgsFeature &f)=0
If you write a feature iterator for your provider, this is the method you need to implement!...
The feature class encapsulates a single feature including its unique ID, geometry and a list of field...
bool nextFeatureFilterFids(QgsFeature &f) override
We have a local special iterator for FilterFids, no need to run the generic.
Wrapper for iterator of features from vector data provider or vector layer.
Internal feature iterator to be implemented within data providers.
virtual bool close()=0
end of iterating: free the resources / lock