Class: QgsProcessingOutputVectorLayer¶
A vector layer output for processing algorithms.
Class Hierarchy¶
Base classes¶
Base class for the definition of processing outputs. |
Methods
Returns the layer type for the output layer. |
|
Sets the layer type for the output layer. |
Static Methods
Returns the type name for the output class. |
- class qgis.core.QgsProcessingOutputVectorLayer[source]¶
Bases:
QgsProcessingOutputDefinition
- __init__(name: str | None, description: str | None = '', type: Qgis.ProcessingSourceType = Qgis.ProcessingSourceType.VectorAnyGeometry)
Constructor for QgsProcessingOutputVectorLayer.
- Parameters:
name (Optional[str])
description (Optional[str] = '')
type (Qgis.ProcessingSourceType = Qgis.ProcessingSourceType.VectorAnyGeometry)
- __init__(a0: QgsProcessingOutputVectorLayer)
- Parameters:
- dataType(self) Qgis.ProcessingSourceType [source]¶
Returns the layer type for the output layer.
See also
- Return type:
- setDataType(self, type: Qgis.ProcessingSourceType)[source]¶
Sets the layer
type
for the output layer.See also
- Parameters:
type (Qgis.ProcessingSourceType)