mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
Add In,Out annotations to QgsFeatureSink methods
This commit is contained in:
parent
7ae71ded57
commit
8d0a9d6bce
@ -24,7 +24,7 @@ class QgsFeatureSink
|
||||
|
||||
virtual ~QgsFeatureSink();
|
||||
|
||||
virtual bool addFeature( QgsFeature &feature ) = 0;
|
||||
virtual bool addFeature( QgsFeature &feature /In,Out/ ) = 0;
|
||||
%Docstring
|
||||
Adds a single ``feature`` to the sink.
|
||||
\see addFeatures()
|
||||
@ -32,7 +32,7 @@ class QgsFeatureSink
|
||||
:rtype: bool
|
||||
%End
|
||||
|
||||
virtual bool addFeatures( QgsFeatureList &features ) = 0;
|
||||
virtual bool addFeatures( QgsFeatureList &features /In,Out/ ) = 0;
|
||||
%Docstring
|
||||
Adds a list of ``features`` to the sink.
|
||||
\see addFeature()
|
||||
|
@ -40,14 +40,14 @@ class CORE_EXPORT QgsFeatureSink
|
||||
* \see addFeatures()
|
||||
* \returns true in case of success and false in case of failure
|
||||
*/
|
||||
virtual bool addFeature( QgsFeature &feature ) = 0;
|
||||
virtual bool addFeature( QgsFeature &feature SIP_INOUT ) = 0;
|
||||
|
||||
/**
|
||||
* Adds a list of \a features to the sink.
|
||||
* \see addFeature()
|
||||
* \returns true in case of success and false in case of failure
|
||||
*/
|
||||
virtual bool addFeatures( QgsFeatureList &features ) = 0;
|
||||
virtual bool addFeatures( QgsFeatureList &features SIP_INOUT ) = 0;
|
||||
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user