QGIS API Documentation
4.1.0-Master (5bf3c20f3c9)
Loading...
Searching...
No Matches
src
analysis
vector
geometry_checker
qgsgeometrycheckresolutionmethod.cpp
Go to the documentation of this file.
1
/***************************************************************************
2
qgsgeometrycheckresolutionmethod.cpp
3
--------------------------------------
4
Date : January 2020
5
Copyright : (C) 2020 Matthias Kuhn
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
#include "
qgsgeometrycheckresolutionmethod.h
"
17
18
QgsGeometryCheckResolutionMethod::QgsGeometryCheckResolutionMethod
(
int
id
,
const
QString &
name
,
const
QString &
description
,
bool
isStable
)
19
: mId(
id
)
20
, mIsStable(
isStable
)
21
, mName(
name
)
22
, mDescription(
description
)
23
{}
24
25
int
QgsGeometryCheckResolutionMethod::id
()
const
26
{
27
return
mId;
28
}
29
30
bool
QgsGeometryCheckResolutionMethod::isStable
()
const
31
{
32
return
mIsStable;
33
}
34
35
QString
QgsGeometryCheckResolutionMethod::name
()
const
36
{
37
return
mName;
38
}
39
40
QString
QgsGeometryCheckResolutionMethod::description
()
const
41
{
42
return
mDescription;
43
}
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
qgsgeometrycheckresolutionmethod.h
Generated on
for QGIS API Documentation by
1.15.0