QGIS API Documentation
3.2.0-Bonn (bc43194)
|
A map layer output for processing algorithms, where layers may be either vector or raster. More...
#include <qgsprocessingoutputs.h>
Public Member Functions | |
QgsProcessingOutputMapLayer (const QString &name, const QString &description=QString()) | |
Constructor for QgsProcessingOutputMapLayer. 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 map layer output for processing algorithms, where layers may be either vector or raster.
If the actual layer output type is known (e.g. always vector or always raster), use QgsProcessingOutputVectorLayer or QgsProcessingOutputRasterLayer instead.
Definition at line 134 of file qgsprocessingoutputs.h.
QgsProcessingOutputMapLayer::QgsProcessingOutputMapLayer | ( | const QString & | name, |
const QString & | description = QString() |
||
) |
Constructor for QgsProcessingOutputMapLayer.
Definition at line 66 of file qgsprocessingoutputs.cpp.
|
overridevirtual |
Unique output type name.
Implements QgsProcessingOutputDefinition.
Definition at line 70 of file qgsprocessingoutputs.cpp.
|
inlinestatic |
Returns the type name for the output class.
Definition at line 146 of file qgsprocessingoutputs.h.