QGIS API Documentation
3.10.0-A Coruña (6c816b4204)
|
A vector layer output for processing algorithms. More...
#include <qgsprocessingoutputs.h>
Public Member Functions | |
QgsProcessingOutputVectorLayer (const QString &name, const QString &description=QString(), QgsProcessing::SourceType type=QgsProcessing::TypeVectorAnyGeometry) | |
Constructor for QgsProcessingOutputVectorLayer. More... | |
QgsProcessing::SourceType | dataType () const |
Returns the layer type for the output layer. More... | |
void | setDataType (QgsProcessing::SourceType type) |
Sets the layer type for the output layer. More... | |
QString | type () const override |
Unique output type name. More... | |
Public Member Functions inherited from QgsProcessingOutputDefinition | |
QgsProcessingOutputDefinition (const QString &name, const QString &description=QString()) | |
Constructor for QgsProcessingOutputDefinition. More... | |
virtual | ~QgsProcessingOutputDefinition ()=default |
QString | description () const |
Returns the description for the output. More... | |
QString | name () const |
Returns the name of the output. More... | |
void | setDescription (const QString &description) |
Sets the description for the output. More... | |
void | setName (const QString &name) |
Sets the name of the output. More... | |
Static Public Member Functions | |
static QString | typeName () |
Returns the type name for the output class. More... | |
Additional Inherited Members | |
Protected Attributes inherited from QgsProcessingOutputDefinition | |
QString | mDescription |
Output description. More... | |
QString | mName |
Output name. More... | |
A vector layer output for processing algorithms.
Definition at line 160 of file qgsprocessingoutputs.h.
QgsProcessingOutputVectorLayer::QgsProcessingOutputVectorLayer | ( | const QString & | name, |
const QString & | description = QString() , |
||
QgsProcessing::SourceType | type = QgsProcessing::TypeVectorAnyGeometry |
||
) |
Constructor for QgsProcessingOutputVectorLayer.
Definition at line 27 of file qgsprocessingoutputs.cpp.
QgsProcessing::SourceType QgsProcessingOutputVectorLayer::dataType | ( | ) | const |
Returns the layer type for the output layer.
Definition at line 32 of file qgsprocessingoutputs.cpp.
void QgsProcessingOutputVectorLayer::setDataType | ( | QgsProcessing::SourceType | type | ) |
Sets the layer type for the output layer.
Definition at line 37 of file qgsprocessingoutputs.cpp.
|
inlineoverridevirtual |
Unique output type name.
Implements QgsProcessingOutputDefinition.
Definition at line 173 of file qgsprocessingoutputs.h.
|
inlinestatic |
Returns the type name for the output class.
Definition at line 172 of file qgsprocessingoutputs.h.