QgsFeatureIteratorDataStream class

Utility class for bulk loading of R-trees.

Not a part of public API.

Constructors, destructors, conversion operators

QgsFeatureIteratorDataStream(const QgsFeatureIterator& fi, QgsFeedback* feedback = nullptr) explicit
constructor - needs to load all data to a vector for later access when bulk loading

Public functions

auto getNext() -> IData* override
returns a pointer to the next entry in the stream or 0 at the end of the stream.
auto hasNext() -> bool override
returns true if there are more items in the stream.
void rewind() override
sets the stream pointer to the first entry, if possible.
auto size() -> uint32_t override
returns the total number of entries available in the stream.