QGIS API Documentation  3.2.0-Bonn (bc43194)
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

QMutex mMutex
 
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 163 of file qgsspatialindex.cpp.

Constructor & Destructor Documentation

◆ QgsSpatialIndexData() [1/3]

QgsSpatialIndexData::QgsSpatialIndexData ( )
inline

Definition at line 166 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 179 of file qgsspatialindex.cpp.

◆ QgsSpatialIndexData() [3/3]

QgsSpatialIndexData::QgsSpatialIndexData ( const QgsSpatialIndexData other)
inline

Definition at line 185 of file qgsspatialindex.cpp.

◆ ~QgsSpatialIndexData()

QgsSpatialIndexData::~QgsSpatialIndexData ( )
inline

Definition at line 200 of file qgsspatialindex.cpp.

Member Function Documentation

◆ initTree()

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

Definition at line 208 of file qgsspatialindex.cpp.

◆ operator=()

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

Member Data Documentation

◆ mMutex

QMutex QgsSpatialIndexData::mMutex
mutable

Definition at line 237 of file qgsspatialindex.cpp.

◆ mRTree

SpatialIndex::ISpatialIndex* QgsSpatialIndexData::mRTree = nullptr

R-tree containing spatial index.

Definition at line 235 of file qgsspatialindex.cpp.

◆ mStorage

SpatialIndex::IStorageManager* QgsSpatialIndexData::mStorage = nullptr

Storage manager.

Definition at line 232 of file qgsspatialindex.cpp.


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