Class: QgsProcessingOutputVectorLayer¶
- class qgis.core.QgsProcessingOutputVectorLayer(name: str, description: str = '', type: QgsProcessing.SourceType = QgsProcessing.TypeVectorAnyGeometry)¶
Bases:
QgsProcessingOutputDefinition
Constructor for QgsProcessingOutputVectorLayer.
QgsProcessingOutputVectorLayer(
QgsProcessingOutputVectorLayer
)A vector layer output for processing algorithms.
Methods
Returns the layer type for the output layer.
Sets the layer
type
for the output layer.- rtype
str
Returns the type name for the output class.
- dataType(self) → QgsProcessing.SourceType¶
Returns the layer type for the output layer.
See also
- Return type
- setDataType(self, type: QgsProcessing.SourceType)¶
Sets the layer
type
for the output layer.See also
- Parameters
type (QgsProcessing.SourceType) –
- type(self) → str¶
- Return type
str
- typeName() → str¶
Returns the type name for the output class.
- Return type
str