18#ifndef QGSPROCESSINGMODELPARAMETER_H
19#define QGSPROCESSINGMODELPARAMETER_H
33class CORE_EXPORT QgsProcessingModelParameter :
public QgsProcessingModelComponent
41 QgsProcessingModelParameter(
const QString ¶meterName = QString() );
43 QgsProcessingModelParameter *clone() const override
SIP_FACTORY;
50 QString parameterName()
const {
return mParameterName; }
57 void setParameterName(
const QString &name ) { mParameterName = name; }
63 QVariant toVariant()
const;
69 bool loadVariant(
const QVariantMap &map );
71 SIP_SKIP const QgsProcessingModelComment *comment()
const override {
return &mComment; }
72 QgsProcessingModelComment *comment()
override {
return &mComment; }
73 void setComment(
const QgsProcessingModelComment &comment )
override { mComment = comment; }
77 QString mParameterName;
79 QgsProcessingModelComment mComment;