QGIS API Documentation
3.8.0-Zanzibar (11aff65)
|
Partial snapshot of vector layer's state (only the members necessary for access to features) More...
#include <qgsvectorlayerfeatureiterator.h>
Public Member Functions | |
QgsVectorLayerFeatureSource (const QgsVectorLayer *layer) | |
Constructor for QgsVectorLayerFeatureSource. More... | |
~QgsVectorLayerFeatureSource () override | |
QgsCoordinateReferenceSystem | crs () const |
Returns the coordinate reference system for features retrieved from this source. More... | |
QgsFields | fields () const |
Returns the fields that will be available for features that are retrieved from this source. More... | |
QgsFeatureIterator | getFeatures (const QgsFeatureRequest &request=QgsFeatureRequest()) override |
Gets an iterator for features matching the specified request. More... | |
QString | id () const |
Returns the layer id of the source layer. More... | |
Public Member Functions inherited from QgsAbstractFeatureSource | |
virtual | ~QgsAbstractFeatureSource () |
Protected Attributes | |
QList< QgsField > | mAddedAttributes |
QgsFeatureMap | mAddedFeatures |
QgsChangedAttributesMap | mChangedAttributeValues |
QgsGeometryMap | mChangedGeometries |
QgsCoordinateReferenceSystem | mCrs |
QgsAttributeList | mDeletedAttributeIds |
QgsFeatureIds | mDeletedFeatureIds |
QgsExpressionFieldBuffer * | mExpressionFieldBuffer = nullptr |
QgsFields | mFields |
bool | mHasEditBuffer |
QString | mId |
QgsVectorLayerJoinBuffer * | mJoinBuffer = nullptr |
QgsExpressionContextScope | mLayerScope |
QgsAbstractFeatureSource * | mProviderFeatureSource = nullptr |
Protected Attributes inherited from QgsAbstractFeatureSource | |
QSet< QgsAbstractFeatureIterator *> | mActiveIterators |
Friends | |
class | QgsVectorLayerFeatureIterator |
Additional Inherited Members | |
Protected Member Functions inherited from QgsAbstractFeatureSource | |
void | iteratorClosed (QgsAbstractFeatureIterator *it) |
void | iteratorOpened (QgsAbstractFeatureIterator *it) |
Partial snapshot of vector layer's state (only the members necessary for access to features)
Definition at line 51 of file qgsvectorlayerfeatureiterator.h.
|
explicit |
Constructor for QgsVectorLayerFeatureSource.
layer | source layer |
Definition at line 31 of file qgsvectorlayerfeatureiterator.cpp.
|
override |
Definition at line 89 of file qgsvectorlayerfeatureiterator.cpp.
QgsCoordinateReferenceSystem QgsVectorLayerFeatureSource::crs | ( | ) | const |
Returns the coordinate reference system for features retrieved from this source.
Definition at line 107 of file qgsvectorlayerfeatureiterator.cpp.
QgsFields QgsVectorLayerFeatureSource::fields | ( | ) | const |
Returns the fields that will be available for features that are retrieved from this source.
Definition at line 102 of file qgsvectorlayerfeatureiterator.cpp.
|
overridevirtual |
Gets an iterator for features matching the specified request.
request | The request |
Implements QgsAbstractFeatureSource.
Definition at line 96 of file qgsvectorlayerfeatureiterator.cpp.
QString QgsVectorLayerFeatureSource::id | ( | ) | const |
Returns the layer id of the source layer.
Definition at line 112 of file qgsvectorlayerfeatureiterator.cpp.
|
friend |
Definition at line 65 of file qgsvectorlayerfeatureiterator.h.
|
protected |
Definition at line 110 of file qgsvectorlayerfeatureiterator.h.
|
protected |
Definition at line 107 of file qgsvectorlayerfeatureiterator.h.
|
protected |
Definition at line 111 of file qgsvectorlayerfeatureiterator.h.
|
protected |
Definition at line 108 of file qgsvectorlayerfeatureiterator.h.
|
protected |
Definition at line 114 of file qgsvectorlayerfeatureiterator.h.
|
protected |
Definition at line 112 of file qgsvectorlayerfeatureiterator.h.
|
protected |
Definition at line 109 of file qgsvectorlayerfeatureiterator.h.
|
protected |
Definition at line 94 of file qgsvectorlayerfeatureiterator.h.
|
protected |
Definition at line 96 of file qgsvectorlayerfeatureiterator.h.
|
protected |
Definition at line 102 of file qgsvectorlayerfeatureiterator.h.
|
protected |
Definition at line 98 of file qgsvectorlayerfeatureiterator.h.
|
protected |
Definition at line 92 of file qgsvectorlayerfeatureiterator.h.
|
protected |
Definition at line 100 of file qgsvectorlayerfeatureiterator.h.
|
protected |
Definition at line 90 of file qgsvectorlayerfeatureiterator.h.