QGIS API Documentation 3.41.0-Master (af5edcb665c)
Loading...
Searching...
No Matches
qgsgeometrycheckresolutionmethod.h
Go to the documentation of this file.
1/***************************************************************************
2 qgsgeometrycheckresolutionmethod.h
3 --------------------------------------
4 Date : January 2020
5 Copyright : (C) 2020 Matthias Kuhn
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 <QString>
20#include "qgis_analysis.h"
21
29{
30 public:
34 QgsGeometryCheckResolutionMethod( int id, const QString &name, const QString &description, bool isStable = true );
35
39 int id() const;
40
44 bool isStable() const;
45
49 QString name() const;
50
54 QString description() const;
55
56 private:
57 int mId = -1;
58 bool mIsStable = false;
59 QString mName;
60 QString mDescription;
61};
62
63#endif // QGSGEOMETRYCHECKRESOLUTIONMETHOD_H
This class implements a resolution for problems detected in geometry checks.