QGIS API Documentation  2.4.0-Chugiak
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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]
Collaboration diagram for QgsVectorLayerFeatureSource:
Collaboration graph
[legend]

Public Member Functions

 QgsVectorLayerFeatureSource (QgsVectorLayer *layer)
 
 ~QgsVectorLayerFeatureSource ()
 
virtual QgsFeatureIterator getFeatures (const QgsFeatureRequest &request)
 
- Public Member Functions inherited from QgsAbstractFeatureSource
virtual ~QgsAbstractFeatureSource ()
 

Protected Attributes

QgsAbstractFeatureSourcemProviderFeatureSource
 
QgsVectorLayerJoinBuffermJoinBuffer
 
QgsFields mFields
 
bool mHasEditBuffer
 
bool mCanBeSimplified
 
QgsFeatureMap mAddedFeatures
 
QgsGeometryMap mChangedGeometries
 
QgsFeatureIds mDeletedFeatureIds
 
QList< QgsFieldmAddedAttributes
 
QgsChangedAttributesMap mChangedAttributeValues
 
QgsAttributeList mDeletedAttributeIds
 
- Protected Attributes inherited from QgsAbstractFeatureSource
QSet
< QgsAbstractFeatureIterator * > 
mActiveIterators
 

Friends

class QgsVectorLayerFeatureIterator
 

Additional Inherited Members

- Protected Member Functions inherited from QgsAbstractFeatureSource
void iteratorOpened (QgsAbstractFeatureIterator *it)
 
void iteratorClosed (QgsAbstractFeatureIterator *it)
 

Detailed Description

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

Definition at line 33 of file qgsvectorlayerfeatureiterator.h.

Constructor & Destructor Documentation

QgsVectorLayerFeatureSource::QgsVectorLayerFeatureSource ( QgsVectorLayer layer)
QgsVectorLayerFeatureSource::~QgsVectorLayerFeatureSource ( )

Definition at line 73 of file qgsvectorlayerfeatureiterator.cpp.

References mJoinBuffer, and mProviderFeatureSource.

Member Function Documentation

QgsFeatureIterator QgsVectorLayerFeatureSource::getFeatures ( const QgsFeatureRequest request)
virtual

Friends And Related Function Documentation

friend class QgsVectorLayerFeatureIterator
friend

Definition at line 41 of file qgsvectorlayerfeatureiterator.h.

Referenced by getFeatures().

Member Data Documentation

QList<QgsField> QgsVectorLayerFeatureSource::mAddedAttributes
protected
QgsFeatureMap QgsVectorLayerFeatureSource::mAddedFeatures
protected
bool QgsVectorLayerFeatureSource::mCanBeSimplified
protected
QgsChangedAttributesMap QgsVectorLayerFeatureSource::mChangedAttributeValues
protected
QgsGeometryMap QgsVectorLayerFeatureSource::mChangedGeometries
protected
QgsAttributeList QgsVectorLayerFeatureSource::mDeletedAttributeIds
protected
QgsFeatureIds QgsVectorLayerFeatureSource::mDeletedFeatureIds
protected
QgsFields QgsVectorLayerFeatureSource::mFields
protected
bool QgsVectorLayerFeatureSource::mHasEditBuffer
protected
QgsVectorLayerJoinBuffer* QgsVectorLayerFeatureSource::mJoinBuffer
protected
QgsAbstractFeatureSource* QgsVectorLayerFeatureSource::mProviderFeatureSource
protected

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