QGIS API Documentation
2.6.0-Brighton
|
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 | |
QgsFeatureIterator & | operator= (const QgsFeatureIterator &other) |
bool | nextFeature (QgsFeature &f) |
bool | rewind () |
bool | close () |
bool | isClosed () const |
find out whether the iterator is still valid or closed already |
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.
|
inline |
construct invalid iterator
|
inline |
construct a valid iterator
|
inline |
copy constructor copies the iterator, increases ref.count
|
inline |
destructor deletes the iterator if it has no more references
|
inline |
|
inline |
find out whether the iterator is still valid or closed already
|
inline |
QgsFeatureIterator & QgsFeatureIterator::operator= | ( | const QgsFeatureIterator & | other | ) |
|
inline |
|
friend |
|
friend |
|
protected |