Class: QgsProcessingOutputMultipleLayers¶
A multi-layer output for processing algorithms which create map layers, when the number and nature of the output layers is not predefined.
Note
Always prefer to explicitly define QgsProcessingOutputVectorLayer
,
QgsProcessingOutputRasterLayer
or QgsProcessingOutputMapLayer
where possible. QgsProcessingOutputMultipleLayers
should only ever be used when the number of output layers is not
fixed - e.g. as a result of processing all layers in a specified
folder.
Class Hierarchy¶
Base classes¶
Base class for the definition of processing outputs. |
Static Methods
Returns the type name for the output class. |
- class qgis.core.QgsProcessingOutputMultipleLayers[source]¶
Bases:
QgsProcessingOutputDefinition
- __init__(name: str | None, description: str | None = '')
Constructor for QgsProcessingOutputMultipleLayers.
- Parameters:
name (Optional[str])
description (Optional[str] = '')
- __init__(a0: QgsProcessingOutputMultipleLayers)
- Parameters: