QGIS API Documentation  2.18.21-Las Palmas (9fba24a)
Public Member Functions | Protected Member Functions | List of all members
QgsFeatureIteratorDataStream Class Reference

Utility class for bulk loading of R-trees. More...

Inheritance diagram for QgsFeatureIteratorDataStream:
Inheritance graph
[legend]

Public Member Functions

 QgsFeatureIteratorDataStream (const QgsFeatureIterator &fi)
 constructor - needs to load all data to a vector for later access when bulk loading More...
 
 ~QgsFeatureIteratorDataStream ()
 
virtual IData * getNext () override
 returns a pointer to the next entry in the stream or 0 at the end of the stream. More...
 
virtual bool hasNext () override
 returns true if there are more items in the stream. More...
 
virtual void rewind () override
 sets the stream pointer to the first entry, if possible. More...
 
virtual uint32_t size () override
 returns the total number of entries available in the stream. More...
 

Protected Member Functions

void readNextEntry ()
 

Detailed Description

Utility class for bulk loading of R-trees.

Not a part of public API.

Note
not available in Python bindings

Definition at line 90 of file qgsspatialindex.cpp.

Constructor & Destructor Documentation

◆ QgsFeatureIteratorDataStream()

QgsFeatureIteratorDataStream::QgsFeatureIteratorDataStream ( const QgsFeatureIterator fi)
inlineexplicit

constructor - needs to load all data to a vector for later access when bulk loading

Definition at line 94 of file qgsspatialindex.cpp.

◆ ~QgsFeatureIteratorDataStream()

QgsFeatureIteratorDataStream::~QgsFeatureIteratorDataStream ( )
inline

Definition at line 101 of file qgsspatialindex.cpp.

Member Function Documentation

◆ getNext()

virtual IData* QgsFeatureIteratorDataStream::getNext ( )
inlineoverridevirtual

returns a pointer to the next entry in the stream or 0 at the end of the stream.

Definition at line 107 of file qgsspatialindex.cpp.

◆ hasNext()

virtual bool QgsFeatureIteratorDataStream::hasNext ( )
inlineoverridevirtual

returns true if there are more items in the stream.

Definition at line 116 of file qgsspatialindex.cpp.

◆ readNextEntry()

void QgsFeatureIteratorDataStream::readNextEntry ( )
inlineprotected

Definition at line 125 of file qgsspatialindex.cpp.

◆ rewind()

virtual void QgsFeatureIteratorDataStream::rewind ( )
inlineoverridevirtual

sets the stream pointer to the first entry, if possible.

Definition at line 122 of file qgsspatialindex.cpp.

◆ size()

virtual uint32_t QgsFeatureIteratorDataStream::size ( )
inlineoverridevirtual

returns the total number of entries available in the stream.

Definition at line 119 of file qgsspatialindex.cpp.


The documentation for this class was generated from the following file: