Class: QgsProcessingOutputVectorLayer¶
-
class
qgis.core.
QgsProcessingOutputVectorLayer
¶ Bases:
QgsProcessingOutputDefinition
A vector layer output for processing algorithms.
New in version 3.0.
QgsProcessingOutputVectorLayer(name: str, description: str = ‘’, type: QgsProcessing.SourceType = QgsProcessing.TypeVectorAnyGeometry) Constructor for QgsProcessingOutputVectorLayer.
QgsProcessingOutputVectorLayer(
QgsProcessingOutputVectorLayer
)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