Skip to content

Commit 353d4fc

Browse files
committedJul 15, 2017
Add missing dox
1 parent 7baa623 commit 353d4fc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
 

‎src/core/qgsspatialindex.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,14 @@ class QgsSpatialIndexData : public QSharedData
163163
initTree();
164164
}
165165

166+
/**
167+
* Constructor for QgsSpatialIndexData which bulk loads features from the specified feature iterator
168+
* \a fi.
169+
*
170+
* The optional \a feedback object can be used to allow cancelation of bulk feature loading. Ownership
171+
* of \a feedback is not transferred, and callers must take care that the lifetime of feedback exceeds
172+
* that of the spatial index construction.
173+
*/
166174
explicit QgsSpatialIndexData( const QgsFeatureIterator &fi, QgsFeedback *feedback = nullptr )
167175
{
168176
QgsFeatureIteratorDataStream fids( fi, feedback );

0 commit comments

Comments
 (0)