mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
44 lines
1.6 KiB
Plaintext
44 lines
1.6 KiB
Plaintext
|
/************************************************************************
|
||
|
* This file has been generated automatically from *
|
||
|
* *
|
||
|
* src/core/qgsfeaturesource.h *
|
||
|
* *
|
||
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
||
|
************************************************************************/
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
class QgsFeatureSource
|
||
|
{
|
||
|
%Docstring
|
||
|
An interface for objects which provide features via a getFeatures method.
|
||
|
|
||
|
.. versionadded:: 3.0
|
||
|
%End
|
||
|
|
||
|
%TypeHeaderCode
|
||
|
#include "qgsfeaturesource.h"
|
||
|
%End
|
||
|
public:
|
||
|
|
||
|
virtual ~QgsFeatureSource();
|
||
|
|
||
|
virtual QgsFeatureIterator getFeatures( const QgsFeatureRequest &request = QgsFeatureRequest() ) const = 0;
|
||
|
%Docstring
|
||
|
Returns an iterator for the features in the source.
|
||
|
An optional ``request`` can be used to optimise the returned
|
||
|
iterator, eg by restricting the returned attributes or geometry.
|
||
|
:rtype: QgsFeatureIterator
|
||
|
%End
|
||
|
|
||
|
};
|
||
|
|
||
|
/************************************************************************
|
||
|
* This file has been generated automatically from *
|
||
|
* *
|
||
|
* src/core/qgsfeaturesource.h *
|
||
|
* *
|
||
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
||
|
************************************************************************/
|