Subgroup: Abstract

Class: QgsAbstractFeatureIteratorFromSourceQgsVectorLayerFeatureSourceBase

class qgis.core.QgsAbstractFeatureIteratorFromSourceQgsVectorLayerFeatureSourceBase

Bases: qgis._core.QgsAbstractFeatureIterator

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)

Methods

close end of iterating: free the resources / lock
compileStatus Returns the status of expression compilation for filter expression requests.
deref
fetchFeature
filterRectToSourceCrs
geometryToDestinationCrs
isValid Returns if this iterator is valid.
iteratorClosed to be called by from subclass in close()
nextFeature fetch next feature, return true on success
nextFeatureFilterExpression
nextFeatureFilterFids
prepareSimplification
ref
rewind reset the iterator to the starting position

Attributes

Compiled
NoCompilation
PartiallyCompiled
deref()
fetchFeature()
filterRectToSourceCrs()
geometryToDestinationCrs()
iteratorClosed(self)

to be called by from subclass in close()

nextFeatureFilterExpression()
nextFeatureFilterFids()
prepareSimplification()
ref()