QGIS API Documentation  2.8.2-Wien
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
QgsAbstractFeatureSource Class Reference

base class that can be used for any class that is capable of returning features More...

#include <qgsfeaturerequest.h>

Inheritance diagram for QgsAbstractFeatureSource:
Inheritance graph
[legend]

Public Member Functions

virtual ~QgsAbstractFeatureSource ()
virtual QgsFeatureIterator getFeatures (const QgsFeatureRequest &request)=0

Protected Member Functions

void iteratorClosed (QgsAbstractFeatureIterator *it)
void iteratorOpened (QgsAbstractFeatureIterator *it)

Protected Attributes

QSet
< QgsAbstractFeatureIterator * > 
mActiveIterators

Friends

class QgsAbstractFeatureIteratorFromSource

Detailed Description

base class that can be used for any class that is capable of returning features

Note
added in 2.4

Definition at line 169 of file qgsfeaturerequest.h.

Constructor & Destructor Documentation

QgsAbstractFeatureSource::~QgsAbstractFeatureSource ( )
virtual

Definition at line 200 of file qgsfeaturerequest.cpp.

Member Function Documentation

virtual QgsFeatureIterator QgsAbstractFeatureSource::getFeatures ( const QgsFeatureRequest request)
pure virtual

Implemented in QgsVectorLayerFeatureSource.

void QgsAbstractFeatureSource::iteratorClosed ( QgsAbstractFeatureIterator it)
protected

Definition at line 215 of file qgsfeaturerequest.cpp.

void QgsAbstractFeatureSource::iteratorOpened ( QgsAbstractFeatureIterator it)
protected

Definition at line 210 of file qgsfeaturerequest.cpp.

Friends And Related Function Documentation

Definition at line 182 of file qgsfeaturerequest.h.

Member Data Documentation

QSet< QgsAbstractFeatureIterator* > QgsAbstractFeatureSource::mActiveIterators
protected

Definition at line 180 of file qgsfeaturerequest.h.


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