QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
Go to the documentation of this file.
18 #ifndef QGSALGORITHMCONDITIONALBRANCH_H
19 #define QGSALGORITHMCONDITIONALBRANCH_H
26 class QgsProcessingModelAlgorithm;
41 QgsConditionalBranchAlgorithm() =
default;
42 ~QgsConditionalBranchAlgorithm()
override;
44 void initAlgorithm(
const QVariantMap &configuration = QVariantMap() )
override;
45 QString
name()
const override;
47 QStringList
tags()
const override;
48 QString
group()
const override;
49 QString
groupId()
const override;
50 Flags
flags()
const override;
57 QVariantMap processAlgorithm( const QVariantMap ¶meters,
63 Output(
const QString &name,
const QString &expression )
65 , expression( expression )
71 QList<Output *> mOutputs;
76 #endif // QGSALGORITHMCONDITIONALBRANCH_H
virtual QString shortDescription() const
Returns an optional translated short description of the algorithm.
virtual QString displayName() const =0
Returns the translated algorithm name, which should be used for any user-visible display of the algor...
virtual QString groupId() const
Returns the unique ID of the group this algorithm belongs to.
virtual QgsProcessingAlgorithm * createInstance() const =0
Creates a new instance of the algorithm class.
virtual QString name() const =0
Returns the algorithm name, used for identifying the algorithm.
virtual QString shortHelpString() const
Returns a localised short helper string for the algorithm.
virtual QString group() const
Returns the name of the group this algorithm belongs to.
virtual Flags flags() const
Returns the flags indicating how and when the algorithm operates and should be exposed to users.
virtual QStringList tags() const
Returns a list of tags which relate to the algorithm, and are used to assist users in searching for s...
virtual void initAlgorithm(const QVariantMap &configuration=QVariantMap())=0
Initializes the algorithm using the specified configuration.