QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
Loading...
Searching...
No Matches
qgsprocessingoutputs.cpp
Go to the documentation of this file.
1/***************************************************************************
2 qgsprocessingoutputs.cpp
3 -------------------------
4 begin : May 2017
5 copyright : (C) 2017 by Nyall Dawson
6 email : nyall dot dawson at gmail dot com
7 ***************************************************************************/
8
9/***************************************************************************
10 * *
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
15 * *
16 ***************************************************************************/
17
19
20QgsProcessingOutputDefinition::QgsProcessingOutputDefinition( const QString &name, const QString &description )
21 : mName( name )
22 , mDescription( description )
23{}
24
26 : QgsProcessingOutputDefinition( name, description )
27 , mDataType( type )
28{}
29
34
39
40QgsProcessingOutputRasterLayer::QgsProcessingOutputRasterLayer( const QString &name, const QString &description )
41 : QgsProcessingOutputDefinition( name, description )
42{}
43
44QgsProcessingOutputPointCloudLayer::QgsProcessingOutputPointCloudLayer( const QString &name, const QString &description )
45 : QgsProcessingOutputDefinition( name, description )
46{}
47
48QgsProcessingOutputVectorTileLayer::QgsProcessingOutputVectorTileLayer( const QString &name, const QString &description )
49 : QgsProcessingOutputDefinition( name, description )
50{}
51
52QgsProcessingOutputHtml::QgsProcessingOutputHtml( const QString &name, const QString &description )
53 : QgsProcessingOutputDefinition( name, description )
54{}
55
56QgsProcessingOutputNumber::QgsProcessingOutputNumber( const QString &name, const QString &description )
57 : QgsProcessingOutputDefinition( name, description )
58{}
59
60QgsProcessingOutputString::QgsProcessingOutputString( const QString &name, const QString &description )
61 : QgsProcessingOutputDefinition( name, description )
62{}
63
64QgsProcessingOutputBoolean::QgsProcessingOutputBoolean( const QString &name, const QString &description )
65 : QgsProcessingOutputDefinition( name, description )
66{}
67
68QgsProcessingOutputFolder::QgsProcessingOutputFolder( const QString &name, const QString &description )
69 : QgsProcessingOutputDefinition( name, description )
70{}
71
72QgsProcessingOutputFile::QgsProcessingOutputFile( const QString &name, const QString &description )
73 : QgsProcessingOutputDefinition( name, description )
74{}
75
76QgsProcessingOutputMapLayer::QgsProcessingOutputMapLayer( const QString &name, const QString &description )
77 : QgsProcessingOutputDefinition( name, description )
78{}
79
81{
82 return typeName();
83}
84
85QgsProcessingOutputMultipleLayers::QgsProcessingOutputMultipleLayers( const QString &name, const QString &description )
86 : QgsProcessingOutputDefinition( name, description )
87{}
88
90{
91 return typeName();
92}
93
95 : QgsProcessingOutputDefinition( name, description )
96{}
97
98QgsProcessingOutputVariant::QgsProcessingOutputVariant( const QString &name, const QString &description )
99 : QgsProcessingOutputDefinition( name, description )
100{
101
102}
103
105{
106 return typeName();
107}
QgsProcessingOutputBoolean(const QString &name, const QString &description=QString())
Constructor for QgsProcessingOutputNumber.
QgsProcessingOutputConditionalBranch(const QString &name, const QString &description=QString())
Constructor for QgsProcessingOutputConditionalBranch.
Base class for the definition of processing outputs.
QgsProcessingOutputDefinition(const QString &name, const QString &description=QString())
Constructor for QgsProcessingOutputDefinition.
QgsProcessingOutputFile(const QString &name, const QString &description=QString())
Constructor for QgsProcessingOutputFile.
QgsProcessingOutputFolder(const QString &name, const QString &description=QString())
Constructor for QgsProcessingOutputFolder.
QgsProcessingOutputHtml(const QString &name, const QString &description=QString())
Constructor for QgsProcessingOutputHtml.
static QString typeName()
Returns the type name for the output class.
QgsProcessingOutputMapLayer(const QString &name, const QString &description=QString())
Constructor for QgsProcessingOutputMapLayer.
QString type() const override
Unique output type name.
static QString typeName()
Returns the type name for the output class.
QgsProcessingOutputMultipleLayers(const QString &name, const QString &description=QString())
Constructor for QgsProcessingOutputMultipleLayers.
QString type() const override
Unique output type name.
QgsProcessingOutputNumber(const QString &name, const QString &description=QString())
Constructor for QgsProcessingOutputNumber.
QgsProcessingOutputPointCloudLayer(const QString &name, const QString &description=QString())
Constructor for QgsProcessingOutputPointCloudLayer.
QgsProcessingOutputRasterLayer(const QString &name, const QString &description=QString())
Constructor for QgsProcessingOutputRasterLayer.
QgsProcessingOutputString(const QString &name, const QString &description=QString())
Constructor for QgsProcessingOutputString.
static QString typeName()
Returns the type name for the output class.
QgsProcessingOutputVariant(const QString &name, const QString &description=QString())
Constructor for QgsProcessingOutputVariant.
QString type() const override
Unique output type name.
QString type() const override
Unique output type name.
void setDataType(QgsProcessing::SourceType type)
Sets the layer type for the output layer.
QgsProcessing::SourceType dataType() const
Returns the layer type for the output layer.
QgsProcessingOutputVectorLayer(const QString &name, const QString &description=QString(), QgsProcessing::SourceType type=QgsProcessing::TypeVectorAnyGeometry)
Constructor for QgsProcessingOutputVectorLayer.
QgsProcessingOutputVectorTileLayer(const QString &name, const QString &description=QString())
Constructor for QgsProcessingOutputVectorTileLayer.
SourceType
Data source types enum.