QGIS API Documentation
3.10.0-A Coruña (6c816b4204)
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
47
bool
addMethod(
QgsClassificationMethod
*method
SIP_TRANSFER
);
48
50
QgsClassificationMethod
*method(
const
QString &
id
)
SIP_FACTORY
;
51
53
QMap<QString, QString> methodNames()
const
;
54
56
QIcon icon(
const
QString &
id
)
const
;
57
58
private
:
59
60
QMap<QString, QgsClassificationMethod *> mMethods;
61
};
62
63
#endif // QGSCLASSIFICATIONMETHODREGISTRY_H
qgis_sip.h
SIP_TRANSFER
#define SIP_TRANSFER
Definition:
qgis_sip.h:36
SIP_FACTORY
#define SIP_FACTORY
Definition:
qgis_sip.h:76
QgsClassificationMethodRegistry
This class manages all known classification methods.
Definition:
qgsclassificationmethodregistry.h:38
QgsClassificationMethod
QgsClassificationMethod is an abstract class for implementations of classification methods...
Definition:
qgsclassificationmethod.h:87
Generated on Sun Oct 27 2019 00:43:28 for QGIS API Documentation by
1.8.13