QGIS API Documentation
4.3.0-Master (16eddb2670e)
Toggle main menu visibility
Loading...
Searching...
No Matches
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 : matthias@opengis.ch
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 <memory>
22
23
#include "qgis_analysis.h"
24
#include "
qgis_sip.h
"
25
26
class
QgsGeometryCheckRegistry
;
27
34
class
ANALYSIS_EXPORT
QgsAnalysis
35
{
36
public
:
37
QgsAnalysis
(
const
QgsAnalysis
&other ) =
delete
;
38
QgsAnalysis
&
operator=
(
const
QgsAnalysis
&other ) =
delete
;
39
43
static
QgsAnalysis
*
instance
();
44
48
static
QgsGeometryCheckRegistry
*
geometryCheckRegistry
()
SIP_KEEPREFERENCE
;
49
50
private:
51
QgsAnalysis
();
52
53
std::unique_ptr<
QgsGeometryCheckRegistry
> mGeometryCheckRegistry;
54
55
#ifdef SIP_RUN
56
QgsAnalysis
(
const
QgsAnalysis
&other );
57
#endif
58
};
59
60
#endif
// QGSANALYSIS_H
QgsAnalysis::operator=
QgsAnalysis & operator=(const QgsAnalysis &other)=delete
QgsAnalysis::QgsAnalysis
QgsAnalysis(const QgsAnalysis &other)=delete
QgsAnalysis::geometryCheckRegistry
static QgsGeometryCheckRegistry * geometryCheckRegistry()
Returns the global geometry checker registry, used for managing all geometry check factories.
Definition
qgsanalysis.cpp:35
QgsAnalysis::instance
static QgsAnalysis * instance()
Returns a pointer to the singleton instance.
Definition
qgsanalysis.cpp:29
QgsGeometryCheckRegistry
A registry for all known geometry check factories.
Definition
qgsgeometrycheckregistry.h:42
qgis_sip.h
SIP_KEEPREFERENCE
#define SIP_KEEPREFERENCE
Definition
qgis_sip.h:93
Generated on
for QGIS API Documentation by
1.17.0