QGIS API Documentation  2.17.0-Master (06698cd)
Public Member Functions | Protected Attributes | Friends | List of all members
QgsVectorLayerFeatureSource Class Reference

Partial snapshot of vector layer's state (only the members necessary for access to features) More...

#include <qgsvectorlayerfeatureiterator.h>

Inheritance diagram for QgsVectorLayerFeatureSource:
Inheritance graph
[legend]

Public Member Functions

 QgsVectorLayerFeatureSource (QgsVectorLayer *layer)
 
 ~QgsVectorLayerFeatureSource ()
 
virtual QgsFeatureIterator getFeatures (const QgsFeatureRequest &request) override
 Get an iterator for features matching the specified request. More...
 
- Public Member Functions inherited from QgsAbstractFeatureSource
virtual ~QgsAbstractFeatureSource ()
 

Protected Attributes

QList< QgsFieldmAddedAttributes
 
QgsFeatureMap mAddedFeatures
 
QgsChangedAttributesMap mChangedAttributeValues
 
QgsGeometryMap mChangedGeometries
 
long mCrsId
 
QgsAttributeList mDeletedAttributeIds
 
QgsFeatureIds mDeletedFeatureIds
 
QgsExpressionFieldBuffermExpressionFieldBuffer
 
QgsFields mFields
 
bool mHasEditBuffer
 
QgsVectorLayerJoinBuffermJoinBuffer
 
QgsAbstractFeatureSourcemProviderFeatureSource
 
- 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)
 

Detailed Description

Partial snapshot of vector layer's state (only the members necessary for access to features)

Note
not available in Python bindings

Definition at line 37 of file qgsvectorlayerfeatureiterator.h.

Constructor & Destructor Documentation

QgsVectorLayerFeatureSource::QgsVectorLayerFeatureSource ( QgsVectorLayer layer)
explicit

Definition at line 29 of file qgsvectorlayerfeatureiterator.cpp.

QgsVectorLayerFeatureSource::~QgsVectorLayerFeatureSource ( )

Definition at line 81 of file qgsvectorlayerfeatureiterator.cpp.

Member Function Documentation

QgsFeatureIterator QgsVectorLayerFeatureSource::getFeatures ( const QgsFeatureRequest request)
overridevirtual

Get an iterator for features matching the specified request.

Parameters
requestThe request
Returns
A feature iterator

Implements QgsAbstractFeatureSource.

Definition at line 88 of file qgsvectorlayerfeatureiterator.cpp.

Friends And Related Function Documentation

friend class QgsVectorLayerFeatureIterator
friend

Definition at line 45 of file qgsvectorlayerfeatureiterator.h.

Member Data Documentation

QList<QgsField> QgsVectorLayerFeatureSource::mAddedAttributes
protected

Definition at line 65 of file qgsvectorlayerfeatureiterator.h.

QgsFeatureMap QgsVectorLayerFeatureSource::mAddedFeatures
protected

Definition at line 62 of file qgsvectorlayerfeatureiterator.h.

QgsChangedAttributesMap QgsVectorLayerFeatureSource::mChangedAttributeValues
protected

Definition at line 66 of file qgsvectorlayerfeatureiterator.h.

QgsGeometryMap QgsVectorLayerFeatureSource::mChangedGeometries
protected

Definition at line 63 of file qgsvectorlayerfeatureiterator.h.

long QgsVectorLayerFeatureSource::mCrsId
protected

Definition at line 69 of file qgsvectorlayerfeatureiterator.h.

QgsAttributeList QgsVectorLayerFeatureSource::mDeletedAttributeIds
protected

Definition at line 67 of file qgsvectorlayerfeatureiterator.h.

QgsFeatureIds QgsVectorLayerFeatureSource::mDeletedFeatureIds
protected

Definition at line 64 of file qgsvectorlayerfeatureiterator.h.

QgsExpressionFieldBuffer* QgsVectorLayerFeatureSource::mExpressionFieldBuffer
protected

Definition at line 53 of file qgsvectorlayerfeatureiterator.h.

QgsFields QgsVectorLayerFeatureSource::mFields
protected

Definition at line 55 of file qgsvectorlayerfeatureiterator.h.

bool QgsVectorLayerFeatureSource::mHasEditBuffer
protected

Definition at line 57 of file qgsvectorlayerfeatureiterator.h.

QgsVectorLayerJoinBuffer* QgsVectorLayerFeatureSource::mJoinBuffer
protected

Definition at line 51 of file qgsvectorlayerfeatureiterator.h.

QgsAbstractFeatureSource* QgsVectorLayerFeatureSource::mProviderFeatureSource
protected

Definition at line 49 of file qgsvectorlayerfeatureiterator.h.


The documentation for this class was generated from the following files: