19 #ifndef QGSPROCESSINGPARAMETERTYPE_H
20 #define QGSPROCESSINGPARAMETERTYPE_H
45 Q_DECLARE_FLAGS( ParameterFlags, ParameterFlag )
63 virtual QString description() const = 0;
69 virtual QString name() const = 0;
80 virtual QString pythonImportString()
const {
return QString(); }
98 virtual QString
id()
const = 0;
104 virtual ParameterFlags flags()
const;
110 virtual QVariantMap metadata()
const;
122 virtual QStringList acceptedPythonTypes()
const;
135 virtual QStringList acceptedStringValues()
const;
Base class for the definition of processing parameters.
Makes metadata of processing parameters available.
virtual QString id() const =0
A static id for this type which will be used for storing this parameter type.
virtual QString className() const
Returns the corresponding class name for the parameter type.
ParameterFlag
Each parameter type can offer a number of additional flags to finetune its behavior and capabilities.
Q_DECLARE_OPERATORS_FOR_FLAGS(QgsField::ConfigurationFlags) CORE_EXPORT QDataStream &operator<<(QDataStream &out
Writes the field to stream out. QGIS version compatibility is not guaranteed.