Navigation Menu

Skip to content

Commit

Permalink
Merge pull request #4729 from nyalldawson/processing_model_c++
Browse files Browse the repository at this point in the history
Porting processing model algorithm to C++, pt 1
  • Loading branch information
nyalldawson committed Jun 20, 2017
2 parents 8b98db0 + d3a2f7c commit 3615a7d
Show file tree
Hide file tree
Showing 27 changed files with 3,994 additions and 845 deletions.
1 change: 1 addition & 0 deletions python/core/core.sip
Expand Up @@ -288,6 +288,7 @@
%Include processing/qgsprocessingalgrunnertask.sip
%Include processing/qgsprocessingcontext.sip
%Include processing/qgsprocessingfeedback.sip
%Include processing/qgsprocessingmodelalgorithm.sip
%Include processing/qgsprocessingoutputs.sip
%Include processing/qgsprocessingparameters.sip
%Include processing/qgsprocessingprovider.sip
Expand Down
6 changes: 6 additions & 0 deletions python/core/processing/qgsprocessingalgorithm.sip
Expand Up @@ -276,6 +276,12 @@ class QgsProcessingAlgorithm
:rtype: bool
%End

void removeParameter( const QString &name );
%Docstring
Removes the parameter with matching ``name`` from the algorithm, and deletes any existing
definition.
%End

bool addOutput( QgsProcessingOutputDefinition *outputDefinition /Transfer/ );
%Docstring
Adds an output ``definition`` to the algorithm. Ownership of the definition is transferred to the algorithm.
Expand Down

0 comments on commit 3615a7d

Please sign in to comment.