mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-06 00:05:02 -05:00
56 lines
1.8 KiB
Plaintext
56 lines
1.8 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/classification/qgsclassificationmethodregistry.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class QgsClassificationMethodRegistry
|
|
{
|
|
%Docstring
|
|
This class manages all known classification methods
|
|
|
|
QgsClassificationMethodRegistry is not usually directly created, but rather accessed through
|
|
:py:func:`QgsApplication.classificationMethodRegistry()`
|
|
|
|
.. versionadded:: 3.10
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgsclassificationmethodregistry.h"
|
|
%End
|
|
public:
|
|
QgsClassificationMethodRegistry();
|
|
|
|
bool addMethod( QgsClassificationMethod *method /Transfer/ );
|
|
%Docstring
|
|
Adds a method to the registry
|
|
Returns false if a method with same id already exists.
|
|
%End
|
|
|
|
QgsClassificationMethod *method( const QString &id ) /Factory/;
|
|
%Docstring
|
|
Returns a new instance of the method for the given id
|
|
%End
|
|
|
|
QMap<QString, QString> methodNames() const;
|
|
%Docstring
|
|
Returns a map <id, name> of all registered methods
|
|
%End
|
|
|
|
};
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/classification/qgsclassificationmethodregistry.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|