Skip to content

Commit

Permalink
Begin port of modeler algorithm to c++
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jun 20, 2017
1 parent efe8bba commit f6358b2
Show file tree
Hide file tree
Showing 17 changed files with 2,154 additions and 367 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 f6358b2

Please sign in to comment.