QGIS API Documentation  2.18.3-Las Palmas (77b8c3d)
Public Member Functions | List of all members
QgsInterruptionChecker Class Referenceabstract

Interface that can be optionaly attached to an iterator so its nextFeature() implementaton can check if it must stop as soon as possible. More...

#include <qgsfeatureiterator.h>

Inheritance diagram for QgsInterruptionChecker:
Inheritance graph
[legend]

Public Member Functions

virtual bool mustStop () const =0
 return true if the iterator must stop as soon as possible More...
 

Detailed Description

Interface that can be optionaly attached to an iterator so its nextFeature() implementaton can check if it must stop as soon as possible.

Note
Added in QGIS 2.16
not available in Python bindings

Definition at line 29 of file qgsfeatureiterator.h.

Member Function Documentation

virtual bool QgsInterruptionChecker::mustStop ( ) const
pure virtual

return true if the iterator must stop as soon as possible

Implemented in QgsVectorLayerInterruptionCheckerDuringCountSymbolFeatures, and QgsVectorLayerRendererInterruptionChecker.


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