#include <qgsvectorlayerfeatureiterator.h>
Classes |
struct | FetchJoinInfo |
| Join information prepared for fast attribute id mapping in QgsVectorLayerJoinBuffer::updateFeatureAttributes(). More...
|
Constructor & Destructor Documentation
QgsVectorLayerFeatureIterator::~QgsVectorLayerFeatureIterator |
( |
| ) |
|
Member Function Documentation
void QgsVectorLayerFeatureIterator::addJoinedAttributes |
( |
QgsFeature & |
f | ) |
|
|
protected |
void QgsVectorLayerFeatureIterator::addVirtualAttributes |
( |
QgsFeature & |
f | ) |
|
|
protected |
Adds attributes that don't source from the provider but are added inside QGIS Includes.
- Joined fields
- Expression fields
- Parameters
-
f | The feature will be modified |
bool QgsVectorLayerFeatureIterator::close |
( |
| ) |
|
|
virtual |
bool QgsVectorLayerFeatureIterator::fetchFeature |
( |
QgsFeature & |
feature | ) |
|
|
protectedvirtual |
bool QgsVectorLayerFeatureIterator::fetchNextAddedFeature |
( |
QgsFeature & |
f | ) |
|
|
protected |
bool QgsVectorLayerFeatureIterator::fetchNextChangedAttributeFeature |
( |
QgsFeature & |
f | ) |
|
|
protected |
bool QgsVectorLayerFeatureIterator::fetchNextChangedGeomFeature |
( |
QgsFeature & |
f | ) |
|
|
protected |
bool QgsVectorLayerFeatureIterator::nextFeatureFid |
( |
QgsFeature & |
f | ) |
|
|
protected |
virtual bool QgsVectorLayerFeatureIterator::nextFeatureFilterExpression |
( |
QgsFeature & |
f | ) |
|
|
inlineprotectedvirtual |
Overrides default method as we only need to filter features in the edit buffer while for others filtering is left to the provider implementation.
Reimplemented from QgsAbstractFeatureIterator.
void QgsVectorLayerFeatureIterator::prepareExpressions |
( |
| ) |
|
|
protected |
void QgsVectorLayerFeatureIterator::prepareJoins |
( |
| ) |
|
|
protected |
bool QgsVectorLayerFeatureIterator::prepareSimplification |
( |
const QgsSimplifyMethod & |
simplifyMethod | ) |
|
|
protectedvirtual |
Setup the simplification of geometries to fetch using the specified simplify method.
Reimplemented from QgsAbstractFeatureIterator.
bool QgsVectorLayerFeatureIterator::rewind |
( |
| ) |
|
|
virtual |
void QgsVectorLayerFeatureIterator::rewindEditBuffer |
( |
| ) |
|
|
protected |
void QgsVectorLayerFeatureIterator::updateChangedAttributes |
( |
QgsFeature & |
f | ) |
|
|
protected |
Update feature with uncommited attribute updates.
void QgsVectorLayerFeatureIterator::updateFeatureGeometry |
( |
QgsFeature & |
f | ) |
|
|
protected |
Update feature with uncommited geometry updates.
Member Data Documentation
QMap<int, QgsExpression*> QgsVectorLayerFeatureIterator::mExpressionFieldInfo |
|
protected |
QgsFeatureMap::ConstIterator QgsVectorLayerFeatureIterator::mFetchAddedFeaturesIt |
|
protected |
QgsGeometryMap::ConstIterator QgsVectorLayerFeatureIterator::mFetchChangedGeomIt |
|
protected |
QSet<QgsFeatureId> QgsVectorLayerFeatureIterator::mFetchConsidered |
|
protected |
bool QgsVectorLayerFeatureIterator::mFetchedFid |
|
protected |
information about joins used in the current select() statement.
Allows faster mapping of attribute ids compared to mVectorJoins
bool QgsVectorLayerFeatureIterator::mHasVirtualAttributes |
|
protected |
The documentation for this class was generated from the following files: