Class: QgsAbstractFeatureIteratorFromSourceQgsVectorLayerFeatureSourceBase

Helper template that cares of two things: 1. automatic deletion of source if owned by iterator, 2. notification of open/closed iterator.

Note

not available in Python bindings (although present in SIP file)

Note

This is an abstract class, with methods which must be implemented by a subclass.

The following methods must be implemented: QgsAbstractFeatureIterator.close(), QgsAbstractFeatureIterator.fetchFeature(), QgsAbstractFeatureIterator.rewind()

Class Hierarchy

Inheritance diagram of qgis.core.QgsAbstractFeatureIteratorFromSourceQgsVectorLayerFeatureSourceBase

Base classes

QgsAbstractFeatureIterator

Internal feature iterator to be implemented within data providers.

Subclasses

QgsVectorLayerFeatureIterator

A feature iterator which iterates over features from a QgsVectorLayer.

Methods

iteratorClosed

to be called by from subclass in close()

class qgis.core.QgsAbstractFeatureIteratorFromSourceQgsVectorLayerFeatureSourceBase

Bases: QgsAbstractFeatureIterator

iteratorClosed(self)

to be called by from subclass in close()