QGIS API Documentation
3.41.0-Master (cea29feecf2)
Loading...
Searching...
No Matches
src
core
classification
qgsclassificationmethodregistry.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsclassificationmethodregistry.h
3
---------------------
4
begin : September 2019
5
copyright : (C) 2019 by Denis Rouzaud
6
email :
[email protected]
7
***************************************************************************
8
* *
9
* This program is free software; you can redistribute it and/or modify *
10
* it under the terms of the GNU General Public License as published by *
11
* the Free Software Foundation; either version 2 of the License, or *
12
* (at your option) any later version. *
13
* *
14
***************************************************************************/
15
16
17
#ifndef QGSCLASSIFICATIONMETHODREGISTRY_H
18
#define QGSCLASSIFICATIONMETHODREGISTRY_H
19
20
#include <QMap>
21
22
#include "qgis_core.h"
23
#include "
qgis_sip.h
"
24
25
class
QIcon;
26
27
class
QgsClassificationMethod
;
28
38
class
CORE_EXPORT
QgsClassificationMethodRegistry
39
{
40
public
:
41
QgsClassificationMethodRegistry
();
42
~QgsClassificationMethodRegistry
();
43
48
bool
addMethod(
QgsClassificationMethod
*method
SIP_TRANSFER
);
49
51
QgsClassificationMethod
*method(
const
QString &
id
)
SIP_FACTORY
;
52
54
QMap<QString, QString> methodNames()
const
;
55
57
QIcon icon(
const
QString &
id
)
const
;
58
59
private
:
60
61
QMap<QString, QgsClassificationMethod *> mMethods;
62
};
63
64
#endif
// QGSCLASSIFICATIONMETHODREGISTRY_H
QgsClassificationMethodRegistry
This class manages all known classification methods.
Definition
qgsclassificationmethodregistry.h:39
QgsClassificationMethod
QgsClassificationMethod is an abstract class for implementations of classification methods.
Definition
qgsclassificationmethod.h:89
qgis_sip.h
SIP_TRANSFER
#define SIP_TRANSFER
Definition
qgis_sip.h:36
SIP_FACTORY
#define SIP_FACTORY
Definition
qgis_sip.h:76
Generated on Sun Dec 15 2024 01:32:01 for QGIS API Documentation by
1.9.8