Class: QgsProcessingOutputVectorLayer

class qgis.core.QgsProcessingOutputVectorLayer

Bases: QgsProcessingOutputDefinition

A vector layer output for processing algorithms.

QgsProcessingOutputVectorLayer(name: str, description: str = ‘’, type: Qgis.ProcessingSourceType = Qgis.ProcessingSourceType.VectorAnyGeometry) Constructor for QgsProcessingOutputVectorLayer.

QgsProcessingOutputVectorLayer(QgsProcessingOutputVectorLayer)

Methods

dataType

Returns the layer type for the output layer.

setDataType

Sets the layer type for the output layer.

type

rtype:

str

typeName

Returns the type name for the output class.

dataType(self) Qgis.ProcessingSourceType

Returns the layer type for the output layer.

See also

setDataType()

Return type:

Qgis.ProcessingSourceType

setDataType(self, type: Qgis.ProcessingSourceType)

Sets the layer type for the output layer.

See also

dataType()

Parameters:

type (Qgis.ProcessingSourceType) –

type(self) str
Return type:

str

typeName() str

Returns the type name for the output class.

Return type:

str