Skip to content
Permalink
Browse files
Add In,Out annotations to QgsFeatureSink methods
  • Loading branch information
nyalldawson committed Apr 26, 2017
1 parent 7ae71de commit 8d0a9d6bce994ac6e3f15ae74e2cefb1417f7571
Showing with 4 additions and 4 deletions.
  1. +2 −2 python/core/qgsfeaturesink.sip
  2. +2 −2 src/core/qgsfeaturesink.h
@@ -24,15 +24,15 @@ 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()
:return: true in case of success and false in case of failure
: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;

};

0 comments on commit 8d0a9d6

Please sign in to comment.