QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
18 #ifndef QGSPROCESSINGOUTPUTS_H
19 #define QGSPROCESSINGOUTPUTS_H
21 #include "qgis_core.h"
47 sipType = sipType_QgsProcessingOutputVectorLayer;
49 sipType = sipType_QgsProcessingOutputRasterLayer;
51 sipType = sipType_QgsProcessingOutputPointCloudLayer;
53 sipType = sipType_QgsProcessingOutputMapLayer;
55 sipType = sipType_QgsProcessingOutputMultipleLayers;
57 sipType = sipType_QgsProcessingOutputHtml;
59 sipType = sipType_QgsProcessingOutputNumber;
61 sipType = sipType_QgsProcessingOutputString;
63 sipType = sipType_QgsProcessingOutputBoolean;
65 sipType = sipType_QgsProcessingOutputFolder;
67 sipType = sipType_QgsProcessingOutputFile;
69 sipType = sipType_QgsProcessingOutputConditionalBranch;
87 virtual QString type()
const = 0;
94 QString
name()
const {
return mName; }
101 void setName(
const QString &name ) { mName = name; }
115 void setDescription(
const QString &description ) { mDescription = description; }
140 bool mAutoCreated =
false;
168 static QString
typeName() {
return QStringLiteral(
"outputLayer" ); }
170 QString
type()
const override;
191 static QString
typeName() {
return QStringLiteral(
"outputVector" ); }
229 static QString
typeName() {
return QStringLiteral(
"outputRaster" ); }
251 static QString
typeName() {
return QStringLiteral(
"outputPointCloud" ); }
280 static QString
typeName() {
return QStringLiteral(
"outputMultilayer" ); }
281 QString
type()
const override;
302 static QString
typeName() {
return QStringLiteral(
"outputHtml" ); }
324 static QString
typeName() {
return QStringLiteral(
"outputNumber" ); }
346 static QString
typeName() {
return QStringLiteral(
"outputString" ); }
368 static QString
typeName() {
return QStringLiteral(
"outputBoolean" ); }
391 static QString
typeName() {
return QStringLiteral(
"outputFolder" ); }
413 static QString
typeName() {
return QStringLiteral(
"outputFile" ); }
436 static QString
typeName() {
return QStringLiteral(
"outputBranch" ); }
440 #endif // QGSPROCESSINGOUTPUTS_H
QString type() const override
Unique output type name.
QString type() const override
Unique output type name.
static QString typeName()
Returns the type name for the output class.
QString type() const override
Unique output type name.
QString type() const override
Unique output type name.
A file output for processing algorithms.
A vector layer output for processing algorithms.
QString mName
Output name.
virtual QString type() const =0
Unique output type name.
static QString typeName()
Returns the type name for the output class.
static QString typeName()
Returns the type name for the output class.
QString type() const override
Unique output type name.
static QString typeName()
Returns the type name for the output class.
A numeric output for processing algorithms.
static QString typeName()
Returns the type name for the output class.
Base class for the definition of processing outputs.
QString mDescription
Output description.
#define SIP_CONVERT_TO_SUBCLASS_CODE(code)
bool autoCreated() const
Returns true if the output was automatically created when adding a parameter.
void setAutoCreated(bool autoCreated)
Sets whether an output was automatically created when adding a parameter.
A conditional branch output for processing algorithms, which represents a possible model logic flow w...
QString type() const override
Unique output type name.
static QString typeName()
Returns the type name for the output class.
@ TypeVectorAnyGeometry
Any vector layer with geometry.
QString type() const override
Unique output type name.
A string output for processing algorithms.
static QString typeName()
Returns the type name for the output class.
void setDescription(const QString &description)
Sets the description for the output.
static QString typeName()
Returns the type name for the output class.
QString type() const override
Unique output type name.
void setName(const QString &name)
Sets the name of the output.
QString type() const override
Unique output type name.
A raster layer output for processing algorithms.
static QString typeName()
Returns the type name for the output class.
A multi-layer output for processing algorithms which create map layers, when the number and nature of...
QString description() const
Returns the description for the output.
A boolean output for processing algorithms.
A map layer output for processing algorithms, where layers may be either vector or raster.
static QString typeName()
Returns the type name for the output class.
A HTML file output for processing algorithms.
QList< const QgsProcessingOutputDefinition * > QgsProcessingOutputDefinitions
List of processing parameters.
QString name() const
Returns the name of the output.
A folder output for processing algorithms.
SourceType
Data source types enum.
static QString typeName()
Returns the type name for the output class.
A pointcloud layer output for processing algorithms.
QString type() const override
Unique output type name.
static QString typeName()
Returns the type name for the output class.