QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
|
Base class for the definition of processing outputs. More...
#include <qgsprocessingoutputs.h>
Public Member Functions | |
QgsProcessingOutputDefinition (const QString &name, const QString &description=QString()) | |
Constructor for QgsProcessingOutputDefinition. More... | |
virtual | ~QgsProcessingOutputDefinition ()=default |
bool | autoCreated () const |
Returns true if the output was automatically created when adding a parameter. More... | |
QString | description () const |
Returns the description for the output. More... | |
QString | name () const |
Returns the name of the output. More... | |
void | setAutoCreated (bool autoCreated) |
Sets whether an output was automatically created when adding a parameter. 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... | |
virtual QString | type () const =0 |
Unique output type name. More... | |
Protected Attributes | |
bool | mAutoCreated = false |
QString | mDescription |
Output description. More... | |
QString | mName |
Output name. More... | |
Base class for the definition of processing outputs.
Output definitions encapsulate the properties regarding the outputs from algorithms, such as generated layers or calculated values.
Definition at line 41 of file qgsprocessingoutputs.h.
QgsProcessingOutputDefinition::QgsProcessingOutputDefinition | ( | const QString & | name, |
const QString & | description = QString() |
||
) |
Constructor for QgsProcessingOutputDefinition.
Definition at line 20 of file qgsprocessingoutputs.cpp.
|
virtualdefault |
|
inline |
Returns true
if the output was automatically created when adding a parameter.
Definition at line 130 of file qgsprocessingoutputs.h.
|
inline |
Returns the description for the output.
This is the user-visible string used to identify this output.
Definition at line 108 of file qgsprocessingoutputs.h.
|
inline |
Returns the name of the output.
This is the internal identifier by which algorithms access this output.
Definition at line 94 of file qgsprocessingoutputs.h.
|
inline |
Sets whether an output was automatically created when adding a parameter.
autoCreated | set to true if the output is to be considered as automatically created. |
Definition at line 123 of file qgsprocessingoutputs.h.
|
inline |
Sets the description for the output.
This is the user-visible string used to identify this output.
Definition at line 115 of file qgsprocessingoutputs.h.
|
inline |
Sets the name of the output.
This is the internal identifier by which algorithms access this output.
Definition at line 101 of file qgsprocessingoutputs.h.
|
pure virtual |
Unique output type name.
Implemented in QgsProcessingOutputMapLayer, QgsProcessingOutputVectorLayer, QgsProcessingOutputRasterLayer, QgsProcessingOutputPointCloudLayer, QgsProcessingOutputMultipleLayers, QgsProcessingOutputHtml, QgsProcessingOutputNumber, QgsProcessingOutputString, QgsProcessingOutputBoolean, QgsProcessingOutputFolder, QgsProcessingOutputFile, and QgsProcessingOutputConditionalBranch.
|
protected |
Definition at line 140 of file qgsprocessingoutputs.h.
|
protected |
Output description.
Definition at line 138 of file qgsprocessingoutputs.h.
|
protected |
Output name.
Definition at line 135 of file qgsprocessingoutputs.h.