QGIS API Documentation  2.12.0-Lyon
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.

Definition at line 78 of file qgsspatialindex.cpp.

Constructor & Destructor Documentation

QgsFeatureIteratorDataStream::QgsFeatureIteratorDataStream ( const QgsFeatureIterator fi)
inlineexplicit

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

Definition at line 82 of file qgsspatialindex.cpp.

QgsFeatureIteratorDataStream::~QgsFeatureIteratorDataStream ( )
inline

Definition at line 89 of file qgsspatialindex.cpp.

Member Function Documentation

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 95 of file qgsspatialindex.cpp.

virtual bool QgsFeatureIteratorDataStream::hasNext ( )
inlineoverridevirtual

returns true if there are more items in the stream.

Definition at line 104 of file qgsspatialindex.cpp.

void QgsFeatureIteratorDataStream::readNextEntry ( )
inlineprotected

Definition at line 113 of file qgsspatialindex.cpp.

virtual void QgsFeatureIteratorDataStream::rewind ( )
inlineoverridevirtual

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

Definition at line 110 of file qgsspatialindex.cpp.

virtual uint32_t QgsFeatureIteratorDataStream::size ( void  )
inlineoverridevirtual

returns the total number of entries available in the stream.

Definition at line 107 of file qgsspatialindex.cpp.


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