map2d_widget
Main Page
Modules
Namespaces
Classes
Files
File List
src
core
placemark.h
Go to the documentation of this file.
1
12
/*
13
* This program is free software; you can redistribute it and/or modify
14
* it under the terms of the GNU General Public License as published by
15
* the Free Software Foundation; either version 3 of the License, or
16
* (at your option) any later version.
17
*
18
* This program is distributed in the hope that it will be useful, but
19
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
20
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21
* for more details.
22
*
23
* You should have received a copy of the GNU General Public License along
24
* with this program; if not, write to the Free Software Foundation, Inc.,
25
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26
*/
27
#ifndef PLACEMARK_H
28
#define PLACEMARK_H
29
30
#include <QString>
31
32
33
namespace
core {
34
class
Placemark
35
{
36
public
:
37
Placemark
(
const
QString &address)
38
{
39
this->address = address;
40
}
41
QString
Address
(){
return
address;}
42
int
Accuracy
(){
return
accuracy;}
43
void
SetAddress
(
const
QString &adr){address=adr;}
44
void
SetAccuracy
(
const
int
&value){accuracy=value;}
45
private
:
46
47
QString address;
48
int
accuracy;
49
protected
:
50
51
52
};
53
}
54
#endif // PLACEMARK_H
core::Placemark::Accuracy
int Accuracy()
Definition:
placemark.h:42
core::Placemark::SetAccuracy
void SetAccuracy(const int &value)
Definition:
placemark.h:44
core::Placemark::Placemark
Placemark(const QString &address)
Definition:
placemark.h:37
core::Placemark::Address
QString Address()
Definition:
placemark.h:41
core::Placemark
Definition:
placemark.h:34
core::Placemark::SetAddress
void SetAddress(const QString &adr)
Definition:
placemark.h:43
Generated on Tue Oct 9 2018 12:26:15 for map2d_widget by
1.8.6