mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-06 00:07:29 -04:00
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.
75 lines
1.9 KiB
Plaintext
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 *
|
|
************************************************************************/
|