18 #ifndef QGSPROCESSINGPARAMETERS_H 19 #define QGSPROCESSINGPARAMETERS_H 21 #include "qgis_core.h" 57 , selectedFeaturesOnly( selectedFeaturesOnly )
65 , selectedFeaturesOnly( selectedFeaturesOnly )
85 return !( *
this == other );
89 operator QVariant()
const 91 return QVariant::fromValue( *
this );
118 , destinationProject( destinationProject )
128 , destinationProject( destinationProject )
158 operator QVariant()
const 160 return QVariant::fromValue( *
this );
192 sipType = sipType_QgsProcessingParameterBoolean;
194 sipType = sipType_QgsProcessingParameterCrs;
196 sipType = sipType_QgsProcessingParameterMapLayer;
198 sipType = sipType_QgsProcessingParameterExtent;
200 sipType = sipType_QgsProcessingParameterPoint;
202 sipType = sipType_QgsProcessingParameterFile;
204 sipType = sipType_QgsProcessingParameterMatrix;
206 sipType = sipType_QgsProcessingParameterMultipleLayers;
208 sipType = sipType_QgsProcessingParameterNumber;
210 sipType = sipType_QgsProcessingParameterRange;
212 sipType = sipType_QgsProcessingParameterRasterLayer;
214 sipType = sipType_QgsProcessingParameterEnum;
216 sipType = sipType_QgsProcessingParameterString;
218 sipType = sipType_QgsProcessingParameterExpression;
220 sipType = sipType_QgsProcessingParameterVectorLayer;
222 sipType = sipType_QgsProcessingParameterField;
224 sipType = sipType_QgsProcessingParameterFeatureSource;
226 sipType = sipType_QgsProcessingParameterFeatureSink;
228 sipType = sipType_QgsProcessingParameterVectorDestination;
230 sipType = sipType_QgsProcessingParameterRasterDestination;
232 sipType = sipType_QgsProcessingParameterFileDestination;
234 sipType = sipType_QgsProcessingParameterFolderDestination;
236 sipType = sipType_QgsProcessingParameterBand;
247 FlagAdvanced = 1 << 1,
249 FlagOptional = 1 << 3,
251 Q_DECLARE_FLAGS( Flags,
Flag )
256 QgsProcessingParameterDefinition(
const QString &name,
const QString &description = QString(),
const QVariant &defaultValue = QVariant(),
257 bool optional =
false );
259 virtual ~QgsProcessingParameterDefinition() =
default;
264 virtual QgsProcessingParameterDefinition *clone()
const = 0
SIP_FACTORY;
269 virtual QString type()
const = 0;
283 QString
name()
const {
return mName; }
290 void setName(
const QString &name ) { mName = name; }
304 void setDescription(
const QString &description ) { mDescription = description; }
323 Flags
flags()
const {
return mFlags; }
338 virtual bool checkValueIsAcceptable(
const QVariant &input,
QgsProcessingContext *context =
nullptr )
const;
345 virtual QString valueAsPythonString(
const QVariant &value,
QgsProcessingContext &context )
const;
351 virtual QString asScriptCode()
const;
358 virtual QVariantMap toVariantMap()
const;
365 virtual bool fromVariantMap(
const QVariantMap &map );
387 void setMetadata(
const QVariantMap &metadata ) { mMetadata = metadata; }
413 virtual QString toolTip()
const;
496 bool mIsDynamic =
false;
509 Q_DECLARE_OPERATORS_FOR_FLAGS( QgsProcessingParameterDefinition::Flags )
541 static bool isDynamic(
const QVariantMap ¶meters,
const QString &name );
546 static QString parameterAsString(
const QgsProcessingParameterDefinition *definition,
const QVariantMap ¶meters,
const QgsProcessingContext &context );
551 static QString parameterAsExpression(
const QgsProcessingParameterDefinition *definition,
const QVariantMap ¶meters,
const QgsProcessingContext &context );
556 static double parameterAsDouble(
const QgsProcessingParameterDefinition *definition,
const QVariantMap ¶meters,
const QgsProcessingContext &context );
561 static int parameterAsInt(
const QgsProcessingParameterDefinition *definition,
const QVariantMap ¶meters,
const QgsProcessingContext &context );
566 static int parameterAsEnum(
const QgsProcessingParameterDefinition *definition,
const QVariantMap ¶meters,
const QgsProcessingContext &context );
571 static QList<int> parameterAsEnums(
const QgsProcessingParameterDefinition *definition,
const QVariantMap ¶meters,
const QgsProcessingContext &context );
576 static bool parameterAsBool(
const QgsProcessingParameterDefinition *definition,
const QVariantMap ¶meters,
const QgsProcessingContext &context );
591 static QgsFeatureSink *parameterAsSink(
const QgsProcessingParameterDefinition *definition,
const QVariantMap ¶meters,
617 static QString parameterAsCompatibleSourceLayerPath(
const QgsProcessingParameterDefinition *definition,
const QVariantMap ¶meters,
627 static QgsMapLayer *parameterAsLayer(
const QgsProcessingParameterDefinition *definition,
const QVariantMap ¶meters,
QgsProcessingContext &context );
641 static QString parameterAsOutputLayer(
const QgsProcessingParameterDefinition *definition,
const QVariantMap ¶meters,
QgsProcessingContext &context );
646 static QString parameterAsFileOutput(
const QgsProcessingParameterDefinition *definition,
const QVariantMap ¶meters,
QgsProcessingContext &context );
685 static QgsGeometry parameterAsExtentGeometry(
const QgsProcessingParameterDefinition *definition,
const QVariantMap ¶meters,
QgsProcessingContext &context,
702 static QgsPointXY parameterAsPoint(
const QgsProcessingParameterDefinition *definition,
const QVariantMap ¶meters,
QgsProcessingContext &context,
715 static QString parameterAsFile(
const QgsProcessingParameterDefinition *definition,
const QVariantMap ¶meters,
QgsProcessingContext &context );
721 static QVariantList parameterAsMatrix(
const QgsProcessingParameterDefinition *definition,
const QVariantMap ¶meters,
QgsProcessingContext &context );
726 static QList< QgsMapLayer *> parameterAsLayerList(
const QgsProcessingParameterDefinition *definition,
const QVariantMap ¶meters,
QgsProcessingContext &context );
731 static QList<double> parameterAsRange(
const QgsProcessingParameterDefinition *definition,
const QVariantMap ¶meters,
QgsProcessingContext &context );
736 static QStringList parameterAsFields(
const QgsProcessingParameterDefinition *definition,
const QVariantMap ¶meters,
QgsProcessingContext &context );
743 static QgsProcessingParameterDefinition *parameterFromVariantMap(
const QVariantMap &map )
SIP_FACTORY;
748 static QString descriptionFromName(
const QString &name );
755 static QgsProcessingParameterDefinition *parameterFromScriptCode(
const QString &code )
SIP_FACTORY;
759 static bool parseScriptCodeParameterOptions(
const QString &code,
bool &isOptional, QString &name, QString &type, QString &definition );
778 bool optional =
false );
783 static QString
typeName() {
return QStringLiteral(
"boolean" ); }
785 QString
type()
const override {
return typeName(); }
808 QgsProcessingParameterCrs(
const QString &name,
const QString &description = QString(),
const QVariant &defaultValue = QVariant(),
809 bool optional =
false );
814 static QString
typeName() {
return QStringLiteral(
"crs" ); }
816 QString
type()
const override {
return typeName(); }
841 bool optional =
false );
846 static QString
typeName() {
return QStringLiteral(
"layer" ); }
848 QString
type()
const override {
return typeName(); }
873 bool optional =
false );
878 static QString
typeName() {
return QStringLiteral(
"extent" ); }
880 QString
type()
const override {
return typeName(); }
905 QgsProcessingParameterPoint(
const QString &name,
const QString &description = QString(),
const QVariant &defaultValue = QVariant(),
906 bool optional =
false );
911 static QString
typeName() {
return QStringLiteral(
"point" ); }
913 QString
type()
const override {
return typeName(); }
944 QgsProcessingParameterFile(
const QString &name,
const QString &description = QString(),
Behavior behavior = File,
const QString &extension = QString(),
const QVariant &defaultValue = QVariant(),
945 bool optional =
false );
950 static QString
typeName() {
return QStringLiteral(
"file" ); }
952 QString
type()
const override {
return typeName(); }
978 void setExtension(
const QString &extension ) { mExtension = extension; }
1008 bool hasFixedNumberRows =
false,
const QStringList &headers = QStringList(),
1009 const QVariant &defaultValue = QVariant(),
1010 bool optional =
false );
1015 static QString
typeName() {
return QStringLiteral(
"matrix" ); }
1017 QString
type()
const override {
return typeName(); }
1025 QStringList headers()
const;
1031 void setHeaders(
const QStringList &headers );
1039 int numberRows()
const;
1047 void setNumberRows(
int rows );
1054 bool hasFixedNumberRows()
const;
1061 void setHasFixedNumberRows(
bool hasFixedNumberRows );
1073 QStringList mHeaders;
1074 int mNumberRows = 3;
1075 bool mFixedNumberRows =
false;
1093 const QVariant &defaultValue = QVariant(),
1094 bool optional =
false );
1099 static QString
typeName() {
return QStringLiteral(
"multilayer" ); }
1101 QString
type()
const override {
return typeName(); }
1123 int minimumNumberInputs()
const;
1130 void setMinimumNumberInputs(
int minimum );
1143 int mMinimumNumberInputs = 0;
1168 Type type = Integer,
1169 const QVariant &defaultValue = QVariant(),
1170 bool optional =
false,
1171 double minValue = -DBL_MAX + 1,
1172 double maxValue = DBL_MAX
1178 static QString
typeName() {
return QStringLiteral(
"number" ); }
1180 QString
type()
const override {
return typeName(); }
1183 QString
toolTip()
const override;
1189 double minimum()
const;
1195 void setMinimum(
double minimum );
1201 double maximum()
const;
1207 void setMaximum(
double maximum );
1213 Type dataType()
const;
1219 void setDataType(
Type type );
1231 double mMin = -DBL_MAX + 1;
1232 double mMax = DBL_MAX;
1233 Type mDataType = Integer;
1251 const QVariant &defaultValue = QVariant(),
1252 bool optional =
false );
1257 static QString
typeName() {
return QStringLiteral(
"range" ); }
1259 QString
type()
const override {
return typeName(); }
1302 bool optional =
false );
1307 static QString
typeName() {
return QStringLiteral(
"raster" ); }
1309 QString
type()
const override {
return typeName(); }
1333 QgsProcessingParameterEnum(
const QString &name,
const QString &description = QString(),
const QStringList &options = QStringList(),
1334 bool allowMultiple =
false,
1335 const QVariant &defaultValue = QVariant(),
1336 bool optional =
false );
1341 static QString
typeName() {
return QStringLiteral(
"enum" ); }
1343 QString
type()
const override {
return typeName(); }
1352 QStringList options()
const;
1358 void setOptions(
const QStringList &options );
1364 bool allowMultiple()
const;
1370 void setAllowMultiple(
bool allowMultiple );
1382 QStringList mOptions;
1383 bool mAllowMultiple =
false;
1401 bool multiLine =
false,
1402 bool optional =
false );
1407 static QString
typeName() {
return QStringLiteral(
"string" ); }
1409 QString
type()
const override {
return typeName(); }
1417 bool multiLine()
const;
1423 void setMultiLine(
bool multiLine );
1435 bool mMultiLine =
false;
1453 const QString &parentLayerParameterName = QString(),
1454 bool optional =
false );
1459 static QString
typeName() {
return QStringLiteral(
"expression" ); }
1461 QString
type()
const override {
return typeName(); }
1469 QString parentLayerParameterName()
const;
1475 void setParentLayerParameterName(
const QString &parentLayerParameterName );
1487 QString mParentLayerParameterName;
1511 QList< int > dataTypes()
const;
1517 void setDataTypes(
const QList< int > &types );
1540 const QString &description = QString(),
1541 const QList< int > &types = QList< int >(),
1542 const QVariant &defaultValue = QVariant(),
1543 bool optional =
false );
1548 static QString
typeName() {
return QStringLiteral(
"vector" ); }
1550 QString
type()
const override {
return typeName(); }
1586 QgsProcessingParameterField(
const QString &name,
const QString &description = QString(),
const QVariant &defaultValue = QVariant(),
1587 const QString &parentLayerParameterName = QString(),
1589 bool allowMultiple =
false,
1590 bool optional =
false );
1595 static QString
typeName() {
return QStringLiteral(
"field" ); }
1597 QString
type()
const override {
return typeName(); }
1607 QString parentLayerParameterName()
const;
1613 void setParentLayerParameterName(
const QString &parentLayerParameterName );
1631 bool allowMultiple()
const;
1637 void setAllowMultiple(
bool allowMultiple );
1649 QString mParentLayerParameterName;
1651 bool mAllowMultiple =
false;
1670 const QList< int > &types = QList< int >(),
1671 const QVariant &defaultValue = QVariant(),
bool optional =
false );
1676 static QString
typeName() {
return QStringLiteral(
"source" ); }
1678 QString
type()
const override {
return typeName(); }
1708 bool optional =
false );
1738 virtual QString defaultFileExtension()
const = 0;
1745 virtual QString generateTemporaryDestination()
const;
1752 bool createByDefault()
const;
1759 void setCreateByDefault(
bool createByDefault );
1763 bool mSupportsNonFileBasedOutputs =
true;
1764 bool mCreateByDefault =
true;
1785 bool optional =
false );
1790 static QString
typeName() {
return QStringLiteral(
"sink" ); }
1792 QString
type()
const override {
return typeName(); }
1809 bool hasGeometry()
const;
1850 bool optional =
false );
1855 static QString
typeName() {
return QStringLiteral(
"vectorDestination" ); }
1857 QString
type()
const override {
return typeName(); }
1874 bool hasGeometry()
const;
1911 const QVariant &defaultValue = QVariant(),
1912 bool optional =
false );
1917 static QString
typeName() {
return QStringLiteral(
"rasterDestination" ); }
1919 QString
type()
const override {
return typeName(); }
1946 const QString &fileFilter = QString(),
1947 const QVariant &defaultValue = QVariant(),
1948 bool optional =
false );
1953 static QString
typeName() {
return QStringLiteral(
"fileDestination" ); }
1955 QString
type()
const override {
return typeName(); }
1965 QString fileFilter()
const;
1971 void setFileFilter(
const QString &filter );
1984 QString mFileFilter;
2003 const QVariant &defaultValue = QVariant(),
2004 bool optional =
false );
2009 static QString
typeName() {
return QStringLiteral(
"folderDestination" ); }
2011 QString
type()
const override {
return typeName(); }
2036 QgsProcessingParameterBand(
const QString &name,
const QString &description = QString(),
const QVariant &defaultValue = QVariant(),
2037 const QString &parentLayerParameterName = QString(),
2038 bool optional =
false );
2043 static QString
typeName() {
return QStringLiteral(
"band" ); }
2045 QString
type()
const override {
return typeName(); }
2055 QString parentLayerParameterName()
const;
2061 void setParentLayerParameterName(
const QString &parentLayerParameterName );
2073 QString mParentLayerParameterName;
2078 #endif // QGSPROCESSINGPARAMETERS_H QString type() const override
Unique parameter type name.
QgsProperty sink
Sink/layer definition.
A boolean parameter for processing algorithms.
QList< const QgsProcessingParameterDefinition *> QgsProcessingParameterDefinitions
List of processing parameters.
static QString typeName()
Returns the type name for the parameter class.
QgsPropertyDefinition dynamicPropertyDefinition() const
Returns the property definition for dynamic properties.
An input file or folder parameter for processing algorithms.
A parameter for processing algorithms which accepts multiple map layers.
virtual QString asScriptCode() const
Returns the parameter definition encoded in a string which can be used within a Python processing scr...
A rectangle specified with double values.
Base class for all map layer types.
QString type() const override
Unique parameter type name.
static QString typeName()
Returns the type name for the parameter class.
QVariantMap & metadata()
Returns the parameter's freeform metadata.
Base class for providing feedback from a processing algorithm.
virtual bool fromVariantMap(const QVariantMap &map)
Restores this parameter to a QVariantMap.
Encapsulates settings relating to a feature sink or output raster layer for a processing algorithm...
QgsProcessingFeatureSourceDefinition(const QString &source=QString(), bool selectedFeaturesOnly=false)
Constructor for QgsProcessingFeatureSourceDefinition, accepting a static string source.
QString type() const override
Unique parameter type name.
QString type() const override
Unique parameter type name.
void setIsDynamic(bool dynamic)
Sets whether the parameter is dynamic, and can support data-defined values (i.e.
QString type() const override
Unique parameter type name.
A vector layer or feature source field parameter for processing algorithms.
void setDynamicLayerParameterName(const QString &name)
Sets the name for the parameter for a layer linked to a dynamic parameter, or an empty string if this...
QString mDynamicLayerParameterName
Linked vector layer parameter name for dynamic properties.
static QString typeName()
Returns the type name for the parameter class.
QVariantMap metadata() const
Returns the parameter's freeform metadata.
static QString typeName()
Returns the type name for the parameter class.
This class provides qgis with the ability to render raster datasets onto the mapcanvas.
static QString typeName()
Returns the type name for the parameter class.
QString type() const override
Unique parameter type name.
QString type() const override
Unique parameter type name.
A map layer parameter for processing algorithms.
A class to represent a 2D point.
An expression parameter for processing algorithms.
static QString typeName()
Returns the type name for the parameter class.
QString type() const override
Unique parameter type name.
bool isDestination() const override
Returns true if this parameter represents a file or layer destination, e.g.
An interface for objects which accept features via addFeature(s) methods.
QString type() const override
Unique parameter type name.
static QString typeName()
Returns the type name for the parameter class.
static QString typeName()
Returns the type name for the parameter class.
QVariantMap mMetadata
Freeform metadata for parameter. Mostly used by widget wrappers to customise their appearance and beh...
QgsFeatureSource subclass which proxies methods to an underlying QgsFeatureSource, modifying results according to the settings in a QgsProcessingContext.
Container of fields for a vector layer.
A geometry is the spatial representation of a feature.
Abstract base class for processing providers.
virtual QVariantMap toVariantMap() const
Saves this parameter to a QVariantMap.
void setFlags(Flags flags)
Sets the flags associated with the parameter.
A raster band parameter for Processing algorithms.
QString type() const override
Unique parameter type name.
virtual QString valueAsPythonString(const QVariant &value, QgsProcessingContext &context) const
Returns a string version of the parameter input value, which is suitable for use as an input paramete...
static QString typeName()
Returns the type name for the parameter class.
QString type() const override
Unique parameter type name.
QString type() const override
Unique parameter type name.
static QString typeName()
Returns the type name for the parameter class.
Base class for all parameter definitions which represent file or layer destinations, e.g.
Abstract base class for processing algorithms.
Q_DECLARE_METATYPE(QModelIndex)
A feature sink output for processing algorithms.
bool operator==(const QgsProcessingFeatureSourceDefinition &other)
bool selectedFeaturesOnly
True if only selected features in the source should be used by algorithms.
A raster layer destination parameter, for specifying the destination path for a raster layer created ...
static QString typeName()
Returns the type name for the parameter class.
A numeric range parameter for processing algorithms.
bool operator!=(const QgsProcessingFeatureSourceDefinition &other)
void setDynamicPropertyDefinition(const QgsPropertyDefinition &definition)
Sets the property definition for dynamic properties.
static QString typeName()
Returns the type name for the parameter class.
static QString typeName()
Returns the type name for the parameter class.
static QString typeName()
Returns the type name for the parameter class.
Can be inherited by parameters which require limits to their acceptable data types.
A raster layer parameter for processing algorithms.
Type
The WKB type describes the number of dimensions a geometry has.
void setDescription(const QString &description)
Sets the description for the parameter.
virtual QString toolTip() const
Returns a formatted tooltip for use with the parameter, which gives helpful information like paramete...
static QString typeName()
Returns the type name for the parameter class.
static QString typeName()
Returns the type name for the parameter class.
QgsProperty source
Source definition.
QString type() const override
Unique parameter type name.
An enum based parameter for processing algorithms, allowing for selection from predefined values...
Flags flags() const
Returns any flags associated with the parameter.
static QString typeName()
Returns the type name for the parameter class.
QVariant defaultValue() const
Returns the default value for the parameter.
QgsProcessingOutputLayerDefinition(const QgsProperty &sink, QgsProject *destinationProject=nullptr)
Constructor for QgsProcessingOutputLayerDefinition, accepting a QgsProperty sink/layer.
A collection of utilities for working with parameters when running a processing algorithm.
QString type() const override
Unique parameter type name.
Reads and writes project states.
void setDefaultValue(const QVariant &value)
Sets the default value for the parameter.
QString type() const override
Unique parameter type name.
A vector layer (with or without geometry) parameter for processing algorithms.
virtual QString defaultFileExtension() const =0
Returns the default file extension for destination file paths associated with this parameter...
A coordinate reference system parameter for processing algorithms.
A store for object properties.
virtual QStringList dependsOnOtherParameters() const
Returns a list of other parameter names on which this parameter is dependent (e.g.
A rectangular map extent parameter for processing algorithms.
QString type() const override
Unique parameter type name.
A numeric parameter for processing algorithms.
A generic file based destination parameter, for specifying the destination path for a file (non-map l...
void setExtension(const QString &extension)
Sets a file extension for the parameter.
QString dynamicLayerParameterName() const
Returns the name of the parameter for a layer linked to a dynamic parameter, or an empty string if th...
Definition for a property.
QString name() const
Returns the name of the parameter.
QList< int > mDataTypes
List of acceptable data types for the parameter.
Encapsulates settings relating to a feature source input to a processing algorithm.
bool supportsNonFileBasedOutput() const
Returns true if the destination parameter supports non filed-based outputs, such as memory layers or ...
Behavior behavior() const
Returns the parameter behavior (e.g.
QString type() const override
Unique parameter type name.
virtual bool isDestination() const
Returns true if this parameter represents a file or layer destination, e.g.
QString extension() const
Returns any specified file extension for the parameter.
QString type() const override
Unique parameter type name.
Base class for the definition of processing outputs.
void setName(const QString &name)
Sets the name of the parameter.
A vector layer destination parameter, for specifying the destination path for a vector layer created ...
QString type() const override
Unique parameter type name.
bool isDynamic() const
Returns true if the parameter supports is dynamic, and can support data-defined values (i...
A point parameter for processing algorithms.
static QString typeName()
Returns the type name for the parameter class.
An input feature source (such as vector layers) parameter for processing algorithms.
void setMetadata(const QVariantMap &metadata)
Sets the parameter's freeform metadata.
A folder destination parameter, for specifying the destination path for a folder created by the algor...
QString destinationName
Name to use for sink if it's to be loaded into a destination project.
Flags mFlags
Parameter flags.
static QString typeName()
Returns the type name for the parameter class.
This class represents a coordinate reference system (CRS).
QgsProcessingOutputLayerDefinition(const QString &sink=QString(), QgsProject *destinationProject=nullptr)
Constructor for QgsProcessingOutputLayerDefinition, accepting a static sink/layer string...
Base class for the definition of processing parameters.
virtual bool checkValueIsAcceptable(const QVariant &input, QgsProcessingContext *context=nullptr) const
Checks whether the specified input value is acceptable for the parameter.
#define SIP_CONVERT_TO_SUBCLASS_CODE(code)
QVariantMap toVariantMap() const override
Saves this parameter to a QVariantMap.
QVariant mDefault
Default value for parameter.
SourceType
Data source types enum.
QgsPropertyDefinition mPropertyDefinition
Data defined property definition.
static QString typeName()
Returns the type name for the parameter class.
QString mName
Parameter name.
QgsProcessingFeatureSourceDefinition(const QgsProperty &source, bool selectedFeaturesOnly=false)
Constructor for QgsProcessingFeatureSourceDefinition, accepting a QgsProperty source.
static QString typeName()
Returns the type name for the parameter class.
Behavior
Parameter behavior.
virtual QString generateTemporaryDestination() const
Generates a temporary destination value for this parameter.
void setSupportsNonFileBasedOutput(bool supportsNonFileBasedOutput)
Sets whether the destination parameter supports non filed-based outputs, such as memory layers or dir...
static QString typeName()
Returns the type name for the parameter class.
DataType
Field data types.
An table (matrix) parameter for processing algorithms.
QString type() const override
Unique parameter type name.
QString mDescription
Parameter description.
bool fromVariantMap(const QVariantMap &map) override
Restores this parameter to a QVariantMap.
void setBehavior(Behavior behavior)
Sets the parameter behavior (e.g.
Represents a vector layer which manages a vector based data sets.
Contains information about the context in which a processing algorithm is executed.
A string parameter for processing algorithms.
QString type() const override
Unique parameter type name.
QString description() const
Returns the description for the parameter.
virtual QgsProcessingParameterDefinition * clone() const =0
Creates a clone of the parameter definition.
virtual QgsProcessingOutputDefinition * toOutputDefinition() const =0
Returns a new QgsProcessingOutputDefinition corresponding to the definition of the destination parame...
Any vector layer with geometry.
QString type() const override
Unique parameter type name.
QVariantMap createOptions
Map of optional sink/layer creation options, which are passed to the underlying provider when creatin...
QString type() const override
Unique parameter type name.
static QString typeName()
Returns the type name for the parameter class.