QGIS API Documentation
4.3.0-Master (52aa6503bed)
Toggle main menu visibility
Loading...
Searching...
No Matches
src
analysis
vector
geometry_checker
qgsgeometrycheckresolutionmethod.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsgeometrycheckresolutionmethod.h
3
--------------------------------------
4
Date : January 2020
5
Copyright : (C) 2020 Matthias Kuhn
6
Email : matthias@opengis.ch
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
#ifndef QGSGEOMETRYCHECKRESOLUTIONMETHOD_H
17
#define QGSGEOMETRYCHECKRESOLUTIONMETHOD_H
18
19
#include "qgis_analysis.h"
20
21
#include <QString>
22
29
class
ANALYSIS_EXPORT
QgsGeometryCheckResolutionMethod
30
{
31
public
:
35
QgsGeometryCheckResolutionMethod
(
int
id
,
const
QString &
name
,
const
QString &
description
,
bool
isStable
=
true
);
36
40
int
id
()
const
;
41
45
bool
isStable
()
const
;
46
50
QString
name
()
const
;
51
55
QString
description
()
const
;
56
57
private
:
58
int
mId = -1;
59
bool
mIsStable =
false
;
60
QString mName;
61
QString mDescription;
62
};
63
64
#endif
// QGSGEOMETRYCHECKRESOLUTIONMETHOD_H
QgsGeometryCheckResolutionMethod::description
QString description() const
A human readable and translated description for this fix.
Definition
qgsgeometrycheckresolutionmethod.cpp:40
QgsGeometryCheckResolutionMethod::id
int id() const
An id that is unique per check.
Definition
qgsgeometrycheckresolutionmethod.cpp:25
QgsGeometryCheckResolutionMethod::isStable
bool isStable() const
If this fix is stable enough to be listed by default.
Definition
qgsgeometrycheckresolutionmethod.cpp:30
QgsGeometryCheckResolutionMethod::QgsGeometryCheckResolutionMethod
QgsGeometryCheckResolutionMethod(int id, const QString &name, const QString &description, bool isStable=true)
Creates a new method with the specified parameters.
Definition
qgsgeometrycheckresolutionmethod.cpp:18
QgsGeometryCheckResolutionMethod::name
QString name() const
A human readable and translated name for this fix.
Definition
qgsgeometrycheckresolutionmethod.cpp:35
Generated on
for QGIS API Documentation by
1.17.0