18 #ifndef QGSPROCESSINGOUTPUTS_H 19 #define QGSPROCESSINGOUTPUTS_H 21 #include "qgis_core.h" 47 sipType = sipType_QgsProcessingOutputVectorLayer;
49 sipType = sipType_QgsProcessingOutputRasterLayer;
51 sipType = sipType_QgsProcessingOutputMapLayer;
53 sipType = sipType_QgsProcessingOutputMultipleLayers;
55 sipType = sipType_QgsProcessingOutputHtml;
57 sipType = sipType_QgsProcessingOutputNumber;
59 sipType = sipType_QgsProcessingOutputString;
61 sipType = sipType_QgsProcessingOutputBoolean;
63 sipType = sipType_QgsProcessingOutputFolder;
65 sipType = sipType_QgsProcessingOutputFile;
83 virtual QString type()
const = 0;
90 QString
name()
const {
return mName; }
97 void setName(
const QString &name ) { mName = name; }
111 void setDescription(
const QString &description ) { mDescription = description; }
148 static QString
typeName() {
return QStringLiteral(
"outputLayer" ); }
150 QString
type()
const override;
172 static QString
typeName() {
return QStringLiteral(
"outputVector" ); }
210 static QString
typeName() {
return QStringLiteral(
"outputRaster" ); }
241 static QString
typeName() {
return QStringLiteral(
"outputMultilayer" ); }
242 QString
type()
const override;
264 static QString
typeName() {
return QStringLiteral(
"outputHtml" ); }
287 static QString
typeName() {
return QStringLiteral(
"outputNumber" ); }
309 static QString
typeName() {
return QStringLiteral(
"outputString" ); }
332 static QString
typeName() {
return QStringLiteral(
"outputBoolean" ); }
355 static QString
typeName() {
return QStringLiteral(
"outputFolder" ); }
378 static QString
typeName() {
return QStringLiteral(
"outputFile" ); }
384 #endif // QGSPROCESSINGOUTPUTS_H QString description() const
Returns the description for the output.
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.
QString name() const
Returns the name of the output.
A HTML file output for processing algorithms.
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.
A boolean output for processing algorithms.
A vector layer output for processing algorithms.
QString type() const override
Unique output type name.
A string output for processing algorithms.
QString type() const override
Unique output type name.
QString mName
Output name.
void setName(const QString &name)
Sets the name of the output.
A file output for processing algorithms.
static QString typeName()
Returns the type name for the output class.
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.
A multi-layer output for processing algorithms which create map layers, when the number and nature of...
QString mDescription
Output description.
Base class for the definition of processing outputs.
QList< const QgsProcessingOutputDefinition *> QgsProcessingOutputDefinitions
List of processing parameters.
static QString typeName()
Returns the type name for the output class.
#define SIP_CONVERT_TO_SUBCLASS_CODE(code)
SourceType
Data source types enum.
static QString typeName()
Returns the type name for the output class.
A folder output for processing algorithms.
QString type() const override
Unique output type name.
QString type() const override
Unique output type name.
void setDescription(const QString &description)
Sets the description for the output.
static QString typeName()
Returns the type name for the output class.
Any vector layer with geometry.
A raster layer output for processing algorithms.
QString type() const override
Unique output type name.
A map layer output for processing algorithms, where layers may be either vector or raster...