QGIS/python/core/auto_generated/processing/qgsprocessing.sip.in
Alexander Bruy 0325cf0c30 [processing] add layer options flag enum
This enum can be used in the QgsProcessingUtils::mapLayerFromString()
and parameterAsPointCloudLayer() calls to control layer loading, e.g.
skipping index generation or not applying default style, etc.
2023-03-29 06:06:09 +10:00

75 lines
1.9 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/core/processing/qgsprocessing.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsProcessing
{
%Docstring(signature="appended")
Contains enumerations and other constants for use in processing algorithms
and parameters.
.. versionadded:: 3.0
%End
%TypeHeaderCode
#include "qgsprocessing.h"
%End
public:
enum SourceType
{
TypeMapLayer,
TypeVectorAnyGeometry,
TypeVectorPoint,
TypeVectorLine,
TypeVectorPolygon,
TypeRaster,
TypeFile,
TypeVector,
TypeMesh,
TypePlugin,
TypePointCloud,
TypeAnnotation
};
enum PythonOutputType
{
PythonQgsProcessingAlgorithmSubclass,
};
enum class LayerOptionsFlag
{
SkipIndexGeneration,
};
typedef QFlags<QgsProcessing::LayerOptionsFlag> LayerOptionsFlags;
static QString sourceTypeToString( SourceType type );
%Docstring
Converts a source ``type`` to a string representation.
.. versionadded:: 3.6
%End
static const QString TEMPORARY_OUTPUT;
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/processing/qgsprocessing.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/