18 #ifndef QGSPROCESSINGMODELPARAMETER_H
19 #define QGSPROCESSINGMODELPARAMETER_H
21 #include "qgis_core.h"
34 class CORE_EXPORT QgsProcessingModelParameter :
public QgsProcessingModelComponent
42 QgsProcessingModelParameter(
const QString ¶meterName = QString() );
44 QgsProcessingModelParameter *clone() const override
SIP_FACTORY;
51 QString parameterName()
const {
return mParameterName; }
58 void setParameterName(
const QString &name ) { mParameterName = name; }
64 QVariant toVariant()
const;
70 bool loadVariant(
const QVariantMap &map );
72 SIP_SKIP const QgsProcessingModelComment *comment()
const override {
return &mComment; }
73 QgsProcessingModelComment *comment()
override {
return &mComment; }
74 void setComment(
const QgsProcessingModelComment &comment )
override { mComment = comment; }
78 QString mParameterName;
80 QgsProcessingModelComment mComment;
86 #endif // QGSPROCESSINGMODELPARAMETER_H