Class: QgsProcessingOutputVectorLayer

class qgis.core.QgsProcessingOutputVectorLayer(name: str, description: str = '', type: QgsProcessing.SourceType = QgsProcessing.TypeVectorAnyGeometry)

Bases: qgis._core.QgsProcessingOutputDefinition

Constructor for QgsProcessingOutputVectorLayer.

QgsProcessingOutputVectorLayer(QgsProcessingOutputVectorLayer)

A vector layer output for processing algorithms.

New in version 3.0: Enums

Methods

dataType

Returns the layer type for the output layer.

setDataType

Sets the layer type for the output layer.

type

typeName

Returns the type name for the output class.

Signals

Attributes

dataType(self) → QgsProcessing.SourceType

Returns the layer type for the output layer.

See also

setDataType()

setDataType(self, type: QgsProcessing.SourceType)

Sets the layer type for the output layer.

See also

dataType()

type(self) → str
typeName() → str

Returns the type name for the output class.