QGIS API Documentation  3.4.15-Madeira (e83d02e274)
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::QgsSpatialIndexData ( )
inline

Definition at line 166 of file qgsspatialindex.cpp.

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 cancellation 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::QgsSpatialIndexData ( const QgsSpatialIndexData other)
inline

Definition at line 185 of file qgsspatialindex.cpp.

QgsSpatialIndexData::~QgsSpatialIndexData ( )
inline

Definition at line 200 of file qgsspatialindex.cpp.

Member Function Documentation

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

Definition at line 208 of file qgsspatialindex.cpp.

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

Member Data Documentation

QMutex QgsSpatialIndexData::mMutex
mutable

Definition at line 237 of file qgsspatialindex.cpp.

SpatialIndex::ISpatialIndex* QgsSpatialIndexData::mRTree = nullptr

R-tree containing spatial index.

Definition at line 235 of file qgsspatialindex.cpp.

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: