QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
src
analysis
qgsanalysis.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsanalysis.h
3
--------
4
begin : September 2018
5
copyright : (C) 2018 by Matthias Kuhn
6
email :
[email protected]
7
***************************************************************************/
8
9
/***************************************************************************
10
* *
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
15
* *
16
***************************************************************************/
17
18
#ifndef QGSANALYSIS_H
19
#define QGSANALYSIS_H
20
21
#include "qgis_analysis.h"
22
#include "
qgis_sip.h
"
23
24
#include <memory>
25
26
class
QgsGeometryCheckRegistry
;
27
34
class
ANALYSIS_EXPORT
QgsAnalysis
35
{
36
public
:
37
39
QgsAnalysis
(
const
QgsAnalysis
&other ) =
delete
;
40
42
QgsAnalysis
&
operator=
(
const
QgsAnalysis
&other ) =
delete
;
43
47
static
QgsAnalysis
*instance();
48
52
static
QgsGeometryCheckRegistry
*geometryCheckRegistry()
SIP_KEEPREFERENCE
;
53
54
private:
55
56
QgsAnalysis
();
57
58
std::
unique_ptr
<
QgsGeometryCheckRegistry
> mGeometryCheckRegistry;
59
60
#ifdef SIP_RUN
61
QgsAnalysis
(
const
QgsAnalysis
&other );
62
#endif
63
64
};
65
66
#endif // QGSANALYSIS_H
SIP_KEEPREFERENCE
#define SIP_KEEPREFERENCE
Definition:
qgis_sip.h:86
QgsAnalysis::operator=
QgsAnalysis & operator=(const QgsAnalysis &other)=delete
QgsAnalysis cannot be copied.
geos::unique_ptr
std::unique_ptr< GEOSGeometry, GeosDeleter > unique_ptr
Scoped GEOS pointer.
Definition:
qgsgeos.h:79
QgsAnalysis::QgsAnalysis
QgsAnalysis(const QgsAnalysis &other)=delete
QgsAnalysis cannot be copied.
qgis_sip.h
QgsAnalysis
QgsAnalysis is a singleton class containing various registry and other global members related to anal...
Definition:
qgsanalysis.h:35
QgsGeometryCheckRegistry
This class manages all known geometry check factories.
Definition:
qgsgeometrycheckregistry.h:42
Generated on Sat Oct 24 2020 17:43:09 for QGIS API Documentation by
1.8.20