QGIS API Documentation  2.5.0-Master
 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 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

Definition at line 169 of file qgsfeaturerequest.h.

Constructor & Destructor Documentation

QgsAbstractFeatureSource::~QgsAbstractFeatureSource ( )
virtual

Member Function Documentation

virtual QgsFeatureIterator QgsAbstractFeatureSource::getFeatures ( const QgsFeatureRequest request)
pure virtual
void QgsAbstractFeatureSource::iteratorClosed ( QgsAbstractFeatureIterator it)
protected

Definition at line 212 of file qgsfeaturerequest.cpp.

References mActiveIterators.

void QgsAbstractFeatureSource::iteratorOpened ( QgsAbstractFeatureIterator it)
protected

Definition at line 207 of file qgsfeaturerequest.cpp.

References mActiveIterators.

Friends And Related Function Documentation

template<typename >
friend class QgsAbstractFeatureIteratorFromSource
friend

Definition at line 182 of file qgsfeaturerequest.h.

Member Data Documentation

QSet< QgsAbstractFeatureIterator* > QgsAbstractFeatureSource::mActiveIterators
protected

Definition at line 180 of file qgsfeaturerequest.h.

Referenced by iteratorClosed(), iteratorOpened(), and ~QgsAbstractFeatureSource().


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