QgsProcessingOutputVectorLayer class

A vector layer output for processing algorithms.

Base classes

class QgsProcessingOutputDefinition
Base class for the definition of processing outputs.

Public static functions

static auto typeName() -> QString
Returns the type name for the output class.

Constructors, destructors, conversion operators

QgsProcessingOutputVectorLayer(const QString& name, const QString& description = QString(), QgsProcessing::SourceType type = QgsProcessing::TypeVectorAnyGeometry)
Constructor for QgsProcessingOutputVectorLayer.

Public functions

auto dataType() const -> QgsProcessing::SourceType
Returns the layer type for the output layer.
void setDataType(QgsProcessing::SourceType type)
Sets the layer type for the output layer.
auto type() const -> QString override
Unique output type name.

Function documentation

QgsProcessing::SourceType QgsProcessingOutputVectorLayer::dataType() const

Returns the layer type for the output layer.

void QgsProcessingOutputVectorLayer::setDataType(QgsProcessing::SourceType type)

Sets the layer type for the output layer.