QGIS API Documentation  2.99.0-Master (19b062c)
Public Member Functions | Public Attributes | List of all members
QgsSpatialIndexData Class Reference

Data of spatial index that may be implicitly shared. More...

Inheritance diagram for QgsSpatialIndexData:
Inheritance graph
[legend]

Public Member Functions

 QgsSpatialIndexData ()
 
 QgsSpatialIndexData (const QgsFeatureIterator &fi, QgsFeedback *feedback=nullptr)
 Constructor for QgsSpatialIndexData which bulk loads features from the specified feature iterator fi. More...
 
 QgsSpatialIndexData (const QgsSpatialIndexData &other)
 
 ~QgsSpatialIndexData ()
 
void initTree (IDataStream *inputStream=nullptr)
 
QgsSpatialIndexDataoperator= (const QgsSpatialIndexData &rh)=delete
 

Public Attributes

SpatialIndex::ISpatialIndex * mRTree = nullptr
 R-tree containing spatial index. More...
 
SpatialIndex::IStorageManager * mStorage = nullptr
 Storage manager. More...
 

Detailed Description

Data of spatial index that may be implicitly shared.

Note
not available in Python bindings

Definition at line 161 of file qgsspatialindex.cpp.

Constructor & Destructor Documentation

◆ QgsSpatialIndexData() [1/3]

QgsSpatialIndexData::QgsSpatialIndexData ( )
inline

Definition at line 164 of file qgsspatialindex.cpp.

◆ QgsSpatialIndexData() [2/3]

QgsSpatialIndexData::QgsSpatialIndexData ( const QgsFeatureIterator fi,
QgsFeedback feedback = nullptr 
)
inlineexplicit

Constructor for QgsSpatialIndexData which bulk loads features from the specified feature iterator fi.

The optional feedback object can be used to allow cancelation of bulk feature loading. Ownership of feedback is not transferred, and callers must take care that the lifetime of feedback exceeds that of the spatial index construction.

Definition at line 177 of file qgsspatialindex.cpp.

◆ QgsSpatialIndexData() [3/3]

QgsSpatialIndexData::QgsSpatialIndexData ( const QgsSpatialIndexData other)
inline

Definition at line 183 of file qgsspatialindex.cpp.

◆ ~QgsSpatialIndexData()

QgsSpatialIndexData::~QgsSpatialIndexData ( )
inline

Definition at line 196 of file qgsspatialindex.cpp.

Member Function Documentation

◆ initTree()

void QgsSpatialIndexData::initTree ( IDataStream *  inputStream = nullptr)
inline

Definition at line 204 of file qgsspatialindex.cpp.

◆ operator=()

QgsSpatialIndexData& QgsSpatialIndexData::operator= ( const QgsSpatialIndexData rh)
delete

Member Data Documentation

◆ mRTree

SpatialIndex::ISpatialIndex* QgsSpatialIndexData::mRTree = nullptr

R-tree containing spatial index.

Definition at line 231 of file qgsspatialindex.cpp.

◆ mStorage

SpatialIndex::IStorageManager* QgsSpatialIndexData::mStorage = nullptr

Storage manager.

Definition at line 228 of file qgsspatialindex.cpp.


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