18 #ifndef QGSPROCESSING_H 
   19 #define QGSPROCESSING_H 
   21 #include "qgis_core.h" 
   47       TypeVectorAnyGeometry = -1, 
 
   50       TypeVectorPolygon = 2, 
 
   73           return QStringLiteral( 
"TypeMapLayer" );
 
   75           return QStringLiteral( 
"TypeVectorAnyGeometry" );
 
   77           return QStringLiteral( 
"TypeVectorPoint" );
 
   79           return QStringLiteral( 
"TypeVectorLine" );
 
   81           return QStringLiteral( 
"TypeVectorPolygon" );
 
   83           return QStringLiteral( 
"TypeRaster" );
 
   85           return QStringLiteral( 
"TypeFile" );
 
   87           return QStringLiteral( 
"TypeVector" );
 
   89           return QStringLiteral( 
"TypeMesh" );
 
Contains enumerations and other constants for use in processing algorithms and parameters.
static const QString TEMPORARY_OUTPUT
Constant used to indicate that a Processing algorithm output should be a temporary layer/file.
PythonOutputType
Available Python output types.
@ PythonQgsProcessingAlgorithmSubclass
Full Python QgsProcessingAlgorithm subclass.
SourceType
Data source types enum.
@ TypeVectorLine
Vector line layers.
@ TypeMapLayer
Any map layer type (raster or vector or mesh)
@ TypeVectorPolygon
Vector polygon layers.
@ TypeFile
Files (i.e. non map layer sources, such as text files)
@ TypeVector
Tables (i.e. vector layers with or without geometry). When used for a sink this indicates the sink ha...
@ TypeRaster
Raster layers.
@ TypeVectorPoint
Vector point layers.
@ TypeVectorAnyGeometry
Any vector layer with geometry.
static QString sourceTypeToString(SourceType type)
Converts a source type to a string representation.