QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
QgsAbstractFeatureSource Class Referenceabstract

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 iteratorOpened (QgsAbstractFeatureIterator *it)
 
void iteratorClosed (QgsAbstractFeatureIterator *it)
 

Protected Attributes

QSet
< QgsAbstractFeatureIterator * > 
mActiveIterators
 

Friends

template<typename >
class QgsAbstractFeatureIteratorFromSource
 

Detailed Description

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

Note
added in 2.4

Constructor & Destructor Documentation

QgsAbstractFeatureSource::~QgsAbstractFeatureSource ( )
virtual

Member Function Documentation

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

Implemented in QgsVectorLayerFeatureSource.

void QgsAbstractFeatureSource::iteratorClosed ( QgsAbstractFeatureIterator it)
protected
void QgsAbstractFeatureSource::iteratorOpened ( QgsAbstractFeatureIterator it)
protected

Friends And Related Function Documentation

template<typename >
friend class QgsAbstractFeatureIteratorFromSource
friend

Member Data Documentation

QSet< QgsAbstractFeatureIterator* > QgsAbstractFeatureSource::mActiveIterators
protected

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