18#ifndef QGSPROCESSING_H
19#define QGSPROCESSING_H
49 PythonQgsProcessingAlgorithmSubclass,
51 Q_ENUM( PythonOutputType )
60 SkipIndexGeneration = 1 << 0,
62 Q_ENUM( LayerOptionsFlag )
71 static QString sourceTypeToString(
Qgis::ProcessingSourceType type )
76 return QStringLiteral(
"TypeMapLayer" );
78 return QStringLiteral(
"TypeVectorAnyGeometry" );
80 return QStringLiteral(
"TypeVectorPoint" );
82 return QStringLiteral(
"TypeVectorLine" );
84 return QStringLiteral(
"TypeVectorPolygon" );
86 return QStringLiteral(
"TypeRaster" );
88 return QStringLiteral(
"TypeFile" );
90 return QStringLiteral(
"TypeVector" );
92 return QStringLiteral(
"TypeMesh" );
94 return QStringLiteral(
"TypePlugin" );
96 return QStringLiteral(
"TypePointCloud" );
98 return QStringLiteral(
"TypeAnnotation" );
100 return QStringLiteral(
"TypeVectorTile" );
The Qgis class provides global constants for use throughout the application.
@ File
Files (i.e. non map layer sources, such as text files)
@ Annotation
Annotation layers.
@ Vector
Tables (i.e. vector layers with or without geometry). When used for a sink this indicates the sink ha...
@ VectorTile
Vector tile layers.
@ MapLayer
Any map layer type (raster, vector, mesh, point cloud, annotation or plugin layer)
@ VectorAnyGeometry
Any vector layer with geometry.
@ VectorPoint
Vector point layers.
@ VectorPolygon
Vector polygon layers.
@ VectorLine
Vector line layers.
@ PointCloud
Point cloud layers.
ProcessingAlgorithmDocumentationFlag
Flags describing algorithm behavior for documentation purposes.
Contains enumerations and other constants for use in processing algorithms and parameters.
QFlags< LayerOptionsFlag > LayerOptionsFlags
static const QgsSettingsEntryString * settingsTempPath
Settings entry temp path.
static const QString TEMPORARY_OUTPUT
Constant used to indicate that a Processing algorithm output should be a temporary layer/file.
static const QgsSettingsEntryBool * settingsPreferFilenameAsLayerName
Settings entry prefer filename as layer name.
PythonOutputType
Available Python output types.
static const QgsSettingsEntryString * settingsDefaultOutputRasterLayerExt
Settings entry default output raster layer ext.
static const QgsSettingsEntryString * settingsDefaultOutputVectorLayerExt
Settings entry default output vector layer ext.
LayerOptionsFlag
Layer options flags.
A boolean settings entry.
QgsSettingsTreeNode is a tree node for the settings tree to help organizing and introspecting the tre...
QgsSettingsTreeNode * createChildNode(const QString &key)
Creates a normal tree node It will return the existing child node if it exists at the given key.
static QgsSettingsTreeNode * sTreeQgis
#define SIP_ENUM_BASETYPE(type)
#define SIP_MONKEYPATCH_SCOPEENUM