18 #ifndef QGSPROCESSING_H
19 #define QGSPROCESSING_H
21 #include "qgis_core.h"
48 TypeVectorAnyGeometry = -1,
51 TypeVectorPolygon = 2,
77 return QStringLiteral(
"TypeMapLayer" );
79 return QStringLiteral(
"TypeVectorAnyGeometry" );
81 return QStringLiteral(
"TypeVectorPoint" );
83 return QStringLiteral(
"TypeVectorLine" );
85 return QStringLiteral(
"TypeVectorPolygon" );
87 return QStringLiteral(
"TypeRaster" );
89 return QStringLiteral(
"TypeFile" );
91 return QStringLiteral(
"TypeVector" );
93 return QStringLiteral(
"TypeMesh" );
95 return QStringLiteral(
"TypePlugin" );
97 return QStringLiteral(
"TypePointCloud" );
99 return QStringLiteral(
"TypeAnnotation" );
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.
@ TypePlugin
Plugin layers.
@ TypeVectorLine
Vector line layers.
@ TypeMapLayer
Any map layer type (raster, vector, mesh, point cloud, annotation or plugin layer)
@ TypeVectorPolygon
Vector polygon layers.
@ TypeFile
Files (i.e. non map layer sources, such as text files)
@ TypeAnnotation
Annotation layers.
@ TypePointCloud
Point cloud layers.
@ 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.
A boolean settings entry.
An integer settings entry.