• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

marble

  • sources
  • kde-4.12
  • kdeedu
  • marble
  • src
  • plugins
  • runner
  • gpx
  • handlers
GPXElementDictionary.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org>
3 
4  This file is part of the KDE project
5 
6  This library is free software you can redistribute it and/or
7  modify it under the terms of the GNU Library General Public
8  License as published by the Free Software Foundation either
9  version 2 of the License, or (at your option) any later version.
10 
11  This library is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  Library General Public License for more details.
15 
16  You should have received a copy of the GNU Library General Public License
17  aint with this library see the file COPYING.LIB. If not, write to
18  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19  Boston, MA 02110-1301, USA.
20 */
21 
22 #ifndef MARBLE_GPX_ELEMENTDICTIONARY_H
23 #define MARBLE_GPX_ELEMENTDICTIONARY_H
24 
25 
26 namespace Marble
27 {
28 
29 // Lists all known GPX 1.1 tags (http://www.topografix.com/GPX/1/1/)
30 namespace gpx
31 {
32  extern const char* gpxTag_nameSpace10;
33  extern const char* gpxTag_nameSpace11;
34 
35  extern const char* gpxTag_ele;
36  extern const char* gpxTag_extensions;
37  extern const char* gpxTag_gpx;
38  extern const char* gpxTag_lat;
39  extern const char* gpxTag_lon;
40  extern const char* gpxTag_name;
41  extern const char* gpxTag_time;
42  extern const char* gpxTag_desc;
43  extern const char* gpxTag_type;
44  extern const char* gpxTag_trk;
45  extern const char* gpxTag_trkpt;
46  extern const char* gpxTag_trkseg;
47  extern const char* gpxTag_wpt;
48  extern const char* gpxTag_rte;
49  extern const char* gpxTag_rtept;
50  extern const char* gpxTag_cmt;
51  extern const char* gpxTag_link;
52  extern const char* gpxTag_url;
53  extern const char* gpxTag_urlname;
54  // TODO: add all remaining tags!
55 
56  extern const char* gpxTag_nameSpaceGarminTrackPointExt1;
57  extern const char* gpxTag_TrackPointExtension;
58  extern const char* gpxTag_hr;
59 }
60 
61 // Helper macros
62 #define GPX_DEFINE_TAG_HANDLER_10(Name) GEODATA_DEFINE_TAG_HANDLER(gpx, GPX, Name, gpxTag_nameSpace10)
63 #define GPX_DEFINE_TAG_HANDLER_11(Name) GEODATA_DEFINE_TAG_HANDLER(gpx, GPX, Name, gpxTag_nameSpace11)
64 #define GPX_DEFINE_TAG_HANDLER_GARMIN_TRACKPOINTEXT1(Name) GEODATA_DEFINE_TAG_HANDLER(gpx, GPX, Name, gpxTag_nameSpaceGarminTrackPointExt1)
65 
66 #define GPX_DEFINE_TAG_HANDLER(Name) \
67  GPX_DEFINE_TAG_HANDLER_10(Name) \
68  GPX_DEFINE_TAG_HANDLER_11(Name)
69 
70 }
71 
72 #endif
Marble::gpx::gpxTag_cmt
const char * gpxTag_cmt
Definition: GPXElementDictionary.cpp:49
Marble::gpx::gpxTag_name
const char * gpxTag_name
Definition: GPXElementDictionary.cpp:39
Marble::gpx::gpxTag_url
const char * gpxTag_url
Definition: GPXElementDictionary.cpp:51
Marble::gpx::gpxTag_rtept
const char * gpxTag_rtept
Definition: GPXElementDictionary.cpp:48
Marble::gpx::gpxTag_trk
const char * gpxTag_trk
Definition: GPXElementDictionary.cpp:43
Marble::gpx::gpxTag_nameSpace11
const char * gpxTag_nameSpace11
Definition: GPXElementDictionary.cpp:32
Marble::gpx::gpxTag_trkseg
const char * gpxTag_trkseg
Definition: GPXElementDictionary.cpp:45
Marble::gpx::gpxTag_lon
const char * gpxTag_lon
Definition: GPXElementDictionary.cpp:38
Marble::gpx::gpxTag_hr
const char * gpxTag_hr
Definition: GPXElementDictionary.cpp:56
Marble::gpx::gpxTag_gpx
const char * gpxTag_gpx
Definition: GPXElementDictionary.cpp:36
Marble::gpx::gpxTag_ele
const char * gpxTag_ele
Definition: GPXElementDictionary.cpp:34
Marble::gpx::gpxTag_nameSpace10
const char * gpxTag_nameSpace10
Definition: GPXElementDictionary.cpp:31
Marble::gpx::gpxTag_extensions
const char * gpxTag_extensions
Definition: GPXElementDictionary.cpp:35
Marble::gpx::gpxTag_time
const char * gpxTag_time
Definition: GPXElementDictionary.cpp:40
Marble::gpx::gpxTag_wpt
const char * gpxTag_wpt
Definition: GPXElementDictionary.cpp:46
Marble::gpx::gpxTag_link
const char * gpxTag_link
Definition: GPXElementDictionary.cpp:50
Marble::gpx::gpxTag_TrackPointExtension
const char * gpxTag_TrackPointExtension
Definition: GPXElementDictionary.cpp:55
Marble::gpx::gpxTag_trkpt
const char * gpxTag_trkpt
Definition: GPXElementDictionary.cpp:44
Marble::gpx::gpxTag_desc
const char * gpxTag_desc
Definition: GPXElementDictionary.cpp:41
Marble::gpx::gpxTag_nameSpaceGarminTrackPointExt1
const char * gpxTag_nameSpaceGarminTrackPointExt1
Definition: GPXElementDictionary.cpp:54
Marble::gpx::gpxTag_rte
const char * gpxTag_rte
Definition: GPXElementDictionary.cpp:47
Marble::gpx::gpxTag_lat
const char * gpxTag_lat
Definition: GPXElementDictionary.cpp:37
Marble::gpx::gpxTag_urlname
const char * gpxTag_urlname
Definition: GPXElementDictionary.cpp:52
Marble::gpx::gpxTag_type
const char * gpxTag_type
Definition: GPXElementDictionary.cpp:42
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:50 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

marble

Skip menu "marble"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal