Skip to content

Commit f6358b2

Browse files
committed
Begin port of modeler algorithm to c++
1 parent efe8bba commit f6358b2

17 files changed

+2154
-367
lines changed

python/core/core.sip

+1
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@
288288
%Include processing/qgsprocessingalgrunnertask.sip
289289
%Include processing/qgsprocessingcontext.sip
290290
%Include processing/qgsprocessingfeedback.sip
291+
%Include processing/qgsprocessingmodelalgorithm.sip
291292
%Include processing/qgsprocessingoutputs.sip
292293
%Include processing/qgsprocessingparameters.sip
293294
%Include processing/qgsprocessingprovider.sip

python/core/processing/qgsprocessingalgorithm.sip

+6
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,12 @@ class QgsProcessingAlgorithm
276276
:rtype: bool
277277
%End
278278

279+
void removeParameter( const QString &name );
280+
%Docstring
281+
Removes the parameter with matching ``name`` from the algorithm, and deletes any existing
282+
definition.
283+
%End
284+
279285
bool addOutput( QgsProcessingOutputDefinition *outputDefinition /Transfer/ );
280286
%Docstring
281287
Adds an output ``definition`` to the algorithm. Ownership of the definition is transferred to the algorithm.

0 commit comments

Comments
 (0)