Class: QgsProcessingOutputVectorLayer

A vector layer output for processing algorithms.

Class Hierarchy

Inheritance diagram of qgis.core.QgsProcessingOutputVectorLayer

Base classes

QgsProcessingOutputDefinition

Base class for the definition of processing outputs.

Methods

dataType

Returns the layer type for the output layer.

setDataType

Sets the layer type for the output layer.

Static Methods

typeName

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:

a0 (QgsProcessingOutputVectorLayer)

dataType(self) Qgis.ProcessingSourceType[source]

Returns the layer type for the output layer.

See also

setDataType()

Return type:

Qgis.ProcessingSourceType

setDataType(self, type: Qgis.ProcessingSourceType)[source]

Sets the layer type for the output layer.

See also

dataType()

Parameters:

type (Qgis.ProcessingSourceType)

static typeName() str[source]

Returns the type name for the output class.

Return type:

str