1 /***************************************************************************
2     qgsgeometrycheckresolutionmethod.cpp
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 #include "qgsgeometrycheckresolutionmethod.h"
17 
QgsGeometryCheckResolutionMethod(int id,const QString & name,const QString & description,bool isStable)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 
id() const26 int QgsGeometryCheckResolutionMethod::id() const
27 {
28   return mId;
29 }
30 
isStable() const31 bool QgsGeometryCheckResolutionMethod::isStable() const
32 {
33   return mIsStable;
34 }
35 
name() const36 QString QgsGeometryCheckResolutionMethod::name() const
37 {
38   return mName;
39 }
40 
description() const41 QString QgsGeometryCheckResolutionMethod::description() const
42 {
43   return mDescription;
44 }
45