QGIS API Documentation
2.8.2-Wien
|
Wrapper for iterator of features from vector data provider or vector layer. More...
#include <qgsfeatureiterator.h>
Public Member Functions | |
QgsFeatureIterator () | |
construct invalid iterator | |
QgsFeatureIterator (QgsAbstractFeatureIterator *iter) | |
construct a valid iterator | |
QgsFeatureIterator (const QgsFeatureIterator &fi) | |
copy constructor copies the iterator, increases ref.count | |
~QgsFeatureIterator () | |
destructor deletes the iterator if it has no more references | |
bool | close () |
bool | isClosed () const |
find out whether the iterator is still valid or closed already | |
bool | nextFeature (QgsFeature &f) |
QgsFeatureIterator & | operator= (const QgsFeatureIterator &other) |
bool | rewind () |
Protected Attributes | |
QgsAbstractFeatureIterator * | mIter |
Friends | |
bool | operator!= (const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2) |
bool | operator== (const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2) |
Wrapper for iterator of features from vector data provider or vector layer.
Definition at line 139 of file qgsfeatureiterator.h.
|
inline |
construct invalid iterator
Definition at line 169 of file qgsfeatureiterator.h.
|
inline |
construct a valid iterator
Definition at line 174 of file qgsfeatureiterator.h.
|
inline |
copy constructor copies the iterator, increases ref.count
Definition at line 181 of file qgsfeatureiterator.h.
|
inline |
destructor deletes the iterator if it has no more references
Definition at line 188 of file qgsfeatureiterator.h.
|
inline |
Definition at line 204 of file qgsfeatureiterator.h.
|
inline |
find out whether the iterator is still valid or closed already
Definition at line 209 of file qgsfeatureiterator.h.
|
inline |
Definition at line 194 of file qgsfeatureiterator.h.
QgsFeatureIterator & QgsFeatureIterator::operator= | ( | const QgsFeatureIterator & | other | ) |
Definition at line 145 of file qgsfeatureiterator.cpp.
|
inline |
Definition at line 199 of file qgsfeatureiterator.h.
|
friend |
Definition at line 219 of file qgsfeatureiterator.h.
|
friend |
Definition at line 214 of file qgsfeatureiterator.h.
|
protected |
Definition at line 164 of file qgsfeatureiterator.h.