Skip to content
Browse files

Allow python creation of QgsFeatureIterator from an abstract one

  • Loading branch information
elpaso committed May 12, 2018
1 parent 7ffdab2 commit 324fd7d522803e7bd7adcafc6e1666cf4f048707
Showing with 5 additions and 3 deletions.
  1. +4 −0 python/core/auto_generated/
  2. +1 −3 src/core/qgsfeatureiterator.h
@@ -215,6 +215,10 @@ Wrapper for iterator of features from vector data provider or vector layer
construct invalid iterator
QgsFeatureIterator( QgsAbstractFeatureIterator *iter /Transfer/ );
construct a valid iterator
QgsFeatureIterator( const QgsFeatureIterator &fi );
@@ -278,10 +278,8 @@ class CORE_EXPORT QgsFeatureIterator

//! construct invalid iterator
QgsFeatureIterator() = default;
#ifndef SIP_RUN
//! construct a valid iterator
QgsFeatureIterator( QgsAbstractFeatureIterator *iter );
QgsFeatureIterator( QgsAbstractFeatureIterator *iter SIP_TRANSFER );
//! copy constructor copies the iterator, increases ref.count
QgsFeatureIterator( const QgsFeatureIterator &fi );
//! destructor deletes the iterator if it has no more references

0 comments on commit 324fd7d

Please sign in to comment.
You can’t perform that action at this time.