QGIS API Documentation 3.39.0-Master (93ce9bf5c90)
|
Partial snapshot of vector layer's state (only the members necessary for access to features) More...
#include <qgsvectorlayerfeatureiterator.h>
Classes | |
struct | JoinLayerSource |
Contains join layer source information prepared in a thread-safe way, ready for vector layer feature iterators with joins to utilize. More... | |
Public Member Functions | |
QgsVectorLayerFeatureSource (const QgsVectorLayer *layer) | |
Constructor for QgsVectorLayerFeatureSource. | |
QgsVectorLayerFeatureSource (const QgsVectorLayerFeatureSource &other)=delete | |
~QgsVectorLayerFeatureSource () override | |
QgsCoordinateReferenceSystem | crs () const |
Returns the coordinate reference system for features retrieved from this source. | |
QgsFields | fields () const |
Returns the fields that will be available for features that are retrieved from this source. | |
QgsFeatureIterator | getFeatures (const QgsFeatureRequest &request=QgsFeatureRequest()) override |
Gets an iterator for features matching the specified request. | |
QString | id () const |
Returns the layer id of the source layer. | |
QgsVectorLayerFeatureSource & | operator== (const QgsVectorLayerFeatureSource &other)=delete |
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 |
std::unique_ptr< QgsExpressionFieldBuffer > | mExpressionFieldBuffer |
QgsFields | mFields |
bool | mHasEditBuffer |
QString | mId |
std::unique_ptr< QgsVectorLayerJoinBuffer > | mJoinBuffer |
QMap< QString, JoinLayerSource > | mJoinSources |
Contains prepared join sources by layer ID. | |
QgsExpressionContextScope | mLayerScope |
std::unique_ptr< QgsAbstractFeatureSource > | mProviderFeatureSource |
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 52 of file qgsvectorlayerfeatureiterator.h.
|
explicit |
Constructor for QgsVectorLayerFeatureSource.
layer | source layer |
Definition at line 39 of file qgsvectorlayerfeatureiterator.cpp.
|
delete |
|
overridedefault |
QgsCoordinateReferenceSystem QgsVectorLayerFeatureSource::crs | ( | ) | const |
Returns the coordinate reference system for features retrieved from this source.
Definition at line 126 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 121 of file qgsvectorlayerfeatureiterator.cpp.
|
overridevirtual |
Gets an iterator for features matching the specified request.
request | The request |
Implements QgsAbstractFeatureSource.
Definition at line 115 of file qgsvectorlayerfeatureiterator.cpp.
QString QgsVectorLayerFeatureSource::id | ( | ) | const |
Returns the layer id of the source layer.
Definition at line 131 of file qgsvectorlayerfeatureiterator.cpp.
|
delete |
|
friend |
Definition at line 69 of file qgsvectorlayerfeatureiterator.h.
|
protected |
Definition at line 138 of file qgsvectorlayerfeatureiterator.h.
|
protected |
Definition at line 135 of file qgsvectorlayerfeatureiterator.h.
|
protected |
Definition at line 139 of file qgsvectorlayerfeatureiterator.h.
|
protected |
Definition at line 136 of file qgsvectorlayerfeatureiterator.h.
|
protected |
Definition at line 142 of file qgsvectorlayerfeatureiterator.h.
|
protected |
Definition at line 140 of file qgsvectorlayerfeatureiterator.h.
|
protected |
Definition at line 137 of file qgsvectorlayerfeatureiterator.h.
|
protected |
Definition at line 122 of file qgsvectorlayerfeatureiterator.h.
|
protected |
Definition at line 124 of file qgsvectorlayerfeatureiterator.h.
|
protected |
Definition at line 130 of file qgsvectorlayerfeatureiterator.h.
|
protected |
Definition at line 126 of file qgsvectorlayerfeatureiterator.h.
|
protected |
Definition at line 94 of file qgsvectorlayerfeatureiterator.h.
|
protected |
Contains prepared join sources by layer ID.
Definition at line 119 of file qgsvectorlayerfeatureiterator.h.
|
protected |
Definition at line 128 of file qgsvectorlayerfeatureiterator.h.
|
protected |
Definition at line 92 of file qgsvectorlayerfeatureiterator.h.