2017-04-02 17:04:47 +10:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/core/processing/qgsprocessingprovider.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-01-09 09:18:25 +10:00
|
|
|
class QgsProcessingProvider
|
|
|
|
{
|
2017-04-02 17:04:47 +10:00
|
|
|
%Docstring
|
|
|
|
Abstract base class for processing providers. An algorithm provider is a set of
|
|
|
|
related algorithms, typically from the same external application or related
|
|
|
|
to a common area of analysis.
|
2017-04-02 20:52:50 +10:00
|
|
|
.. versionadded:: 3.0
|
2017-04-02 17:04:47 +10:00
|
|
|
%End
|
|
|
|
|
2017-01-09 09:18:25 +10:00
|
|
|
%TypeHeaderCode
|
2017-04-02 17:04:47 +10:00
|
|
|
#include "qgsprocessingprovider.h"
|
2017-01-09 09:18:25 +10:00
|
|
|
%End
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
QgsProcessingProvider();
|
2017-04-02 17:04:47 +10:00
|
|
|
%Docstring
|
|
|
|
Constructor for QgsProcessingProvider.
|
|
|
|
%End
|
2017-01-09 09:18:25 +10:00
|
|
|
|
|
|
|
virtual ~QgsProcessingProvider();
|
|
|
|
|
2017-04-02 12:53:31 +02:00
|
|
|
// QgsProcessingProvider &operator=( const QgsProcessingProvider &other ) = delete;
|
2017-04-02 17:04:47 +10:00
|
|
|
|
2017-01-09 09:18:25 +10:00
|
|
|
virtual QIcon icon() const;
|
2017-04-02 17:04:47 +10:00
|
|
|
%Docstring
|
|
|
|
Returns an icon for the provider.
|
2017-04-03 11:59:45 +10:00
|
|
|
\see svgIconPath()
|
2017-04-02 17:04:47 +10:00
|
|
|
%End
|
2017-01-09 09:18:25 +10:00
|
|
|
|
2017-01-09 12:34:37 +10:00
|
|
|
virtual QString svgIconPath() const;
|
2017-04-02 17:04:47 +10:00
|
|
|
%Docstring
|
|
|
|
Returns a path to an SVG version of the provider's icon.
|
2017-04-03 11:59:45 +10:00
|
|
|
\see icon()
|
2017-04-02 17:04:47 +10:00
|
|
|
%End
|
2017-01-09 12:34:37 +10:00
|
|
|
|
2017-01-09 09:18:25 +10:00
|
|
|
virtual QString id() const = 0;
|
2017-04-02 17:04:47 +10:00
|
|
|
%Docstring
|
|
|
|
Returns the unique provider id, used for identifying the provider. This string
|
|
|
|
should be a unique, short, character only string, eg "qgis" or "gdal". This
|
|
|
|
string should not be localised.
|
2017-04-03 11:59:45 +10:00
|
|
|
\see name()
|
2017-04-02 17:04:47 +10:00
|
|
|
%End
|
2017-01-09 09:18:25 +10:00
|
|
|
|
|
|
|
virtual QString name() const = 0;
|
2017-04-02 17:04:47 +10:00
|
|
|
%Docstring
|
|
|
|
Returns the full provider name, which is used to describe the provider within the GUI.
|
|
|
|
This string should be localised.
|
2017-04-03 11:59:45 +10:00
|
|
|
\see id()
|
2017-04-02 17:04:47 +10:00
|
|
|
%End
|
2017-01-09 09:18:25 +10:00
|
|
|
|
|
|
|
virtual bool canBeActivated() const;
|
2017-04-02 17:04:47 +10:00
|
|
|
%Docstring
|
|
|
|
Returns true if the provider can be activated, or false if it cannot be activated (e.g. due to
|
|
|
|
missing external dependencies).
|
|
|
|
%End
|
2017-01-09 09:18:25 +10:00
|
|
|
|
2017-04-03 15:37:55 +10:00
|
|
|
virtual QStringList supportedOutputRasterLayerExtensions() const;
|
|
|
|
%Docstring
|
|
|
|
Returns a list of the raster format file extensions supported by this provider.
|
|
|
|
\see supportedOutputVectorLayerExtensions()
|
|
|
|
\see supportedOutputTableExtensions()
|
|
|
|
%End
|
|
|
|
|
|
|
|
virtual QStringList supportedOutputVectorLayerExtensions() const;
|
|
|
|
%Docstring
|
|
|
|
Returns a list of the vector format file extensions supported by this provider.
|
|
|
|
\see supportedOutputRasterLayerExtensions()
|
|
|
|
\see supportedOutputTableExtensions()
|
|
|
|
\see supportsNonFileBasedOutput()
|
|
|
|
%End
|
|
|
|
|
|
|
|
virtual QStringList supportedOutputTableExtensions() const;
|
|
|
|
%Docstring
|
|
|
|
Returns a list of the table format file extensions supported by this provider.
|
|
|
|
\see supportedOutputRasterLayerExtensions()
|
|
|
|
\see supportedOutputVectorLayerExtensions()
|
|
|
|
%End
|
|
|
|
|
|
|
|
virtual bool supportsNonFileBasedOutput() const;
|
|
|
|
%Docstring
|
|
|
|
Returns true if the provider supports non-file based outputs (such as memory layers
|
|
|
|
or direct database outputs).
|
|
|
|
\see supportedOutputVectorLayerExtensions()
|
|
|
|
%End
|
|
|
|
|
2017-01-09 09:18:25 +10:00
|
|
|
private:
|
2017-04-02 17:04:47 +10:00
|
|
|
QgsProcessingProvider( const QgsProcessingProvider &other );
|
2017-01-09 09:18:25 +10:00
|
|
|
};
|
2017-04-02 17:04:47 +10:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/core/processing/qgsprocessingprovider.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|