QGIS API Documentation 3.41.0-Master (fda2aa46e9a)
Loading...
Searching...
No Matches
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
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
27
34class ANALYSIS_EXPORT QgsAnalysis
35{
36 public:
37
38 QgsAnalysis( const QgsAnalysis &other ) = delete;
39 QgsAnalysis &operator=( const QgsAnalysis &other ) = delete;
40
44 static QgsAnalysis *instance();
45
49 static QgsGeometryCheckRegistry *geometryCheckRegistry() SIP_KEEPREFERENCE;
50
51 private:
52
54
55 std::unique_ptr<QgsGeometryCheckRegistry> mGeometryCheckRegistry;
56
57#ifdef SIP_RUN
58 QgsAnalysis( const QgsAnalysis &other );
59#endif
60
61};
62
63#endif // QGSANALYSIS_H
QgsAnalysis is a singleton class containing various registry and other global members related to anal...
Definition qgsanalysis.h:35
QgsAnalysis & operator=(const QgsAnalysis &other)=delete
QgsAnalysis(const QgsAnalysis &other)=delete
This class manages all known geometry check factories.
#define SIP_KEEPREFERENCE
Definition qgis_sip.h:86