Add In,Out annotations to QgsFeatureSink methods

This commit is contained in:
Nyall Dawson 2017-04-26 10:43:44 +10:00
parent 7ae71ded57
commit 8d0a9d6bce
2 changed files with 4 additions and 4 deletions

View File

@ -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()

View File

@ -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;
};