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

marble

  • sources
  • kde-4.14
  • kdeedu
  • marble
  • src
  • lib
  • marble
  • geodata
  • data
GeoDataModel.h
Go to the documentation of this file.
1 //
2 // This file is part of the Marble Virtual Globe.
3 //
4 // This program is free software licensed under the GNU LGPL. You can
5 // find a copy of this license in LICENSE.txt in the top directory of
6 // the source code.
7 //
8 // Copyright 2013 Mayank Madan <maddiemadan@gmail.com>
9 // Copyright 2013 Sanjiban Bairagya <sanjiban22393@gmail.com>
10 //
11 
12 #ifndef GEODATAMODEL_H
13 #define GEODATAMODEL_H
14 
15 #include "GeoDataGeometry.h"
16 #include "MarbleGlobal.h"
17 #include "GeoDataLink.h"
18 #include "GeoDataScale.h"
19 #include "GeoDataOrientation.h"
20 #include "GeoDataCoordinates.h"
21 #include "GeoDataLocation.h"
22 #include "GeoDataResourceMap.h"
23 #include "GeoDataAlias.h"
24 
25 namespace Marble {
26 
27 class GeoDataModelPrivate;
28 
29 class MARBLE_EXPORT GeoDataModel: public GeoDataGeometry
30 {
31 public:
32  GeoDataModel();
33 
34  GeoDataModel( const GeoDataModel &other );
35 
36  GeoDataModel& operator=( const GeoDataModel &other );
37 
38  bool operator==( const GeoDataModel &other ) const;
39  bool operator!=( const GeoDataModel &other ) const;
40 
41  ~GeoDataModel();
42 
44  virtual const char* nodeType() const;
45 
46  const GeoDataLink& link() const;
47  GeoDataLink& link();
48  void setLink( const GeoDataLink &link );
49 
50  const GeoDataCoordinates& coordinates() const;
51  GeoDataCoordinates& coordinates();
52  void setCoordinates(const GeoDataCoordinates &coordinates);
53 
54  const GeoDataScale& scale() const;
55  GeoDataScale& scale();
56  void setScale(const GeoDataScale &scale);
57 
58  const GeoDataOrientation& orientation() const;
59  GeoDataOrientation& orientation();
60  void setOrientation( const GeoDataOrientation &orientation);
61 
62  const GeoDataLocation& location() const;
63  GeoDataLocation& location();
64  void setLocation( const GeoDataLocation &location);
65 
66  const GeoDataResourceMap& resourceMap() const;
67  GeoDataResourceMap& resourceMap();
68  void setResourceMap( const GeoDataResourceMap &map);
69 
70  QString sourceHref() const;
71  QString targetHref() const;
72  void setSourceHref(const QString &sourceHref);
73  void setTargetHref(const QString &targetHref);
74 
75 private:
76  GeoDataModelPrivate* const d;
77 };
78 
79 }
80 
81 
82 #endif // GEODATAMODEL_H
GeoDataCoordinates.h
Marble::GeoDataCoordinates
A 3d point representation.
Definition: GeoDataCoordinates.h:52
GeoDataResourceMap.h
Marble::GeoDataGeometry
A base class for all geodata features.
Definition: GeoDataGeometry.h:47
Marble::GeoDataLink
Definition: GeoDataLink.h:22
Marble::GeoDataModel
Definition: GeoDataModel.h:29
Marble::operator==
bool operator==(const DownloadPolicyKey &lhs, const DownloadPolicyKey &rhs)
Definition: DownloadPolicy.h:49
MARBLE_EXPORT
#define MARBLE_EXPORT
Definition: marble_export.h:20
GeoDataLink.h
Marble::operator!=
bool operator!=(GeoDataLatLonBox const &lhs, GeoDataLatLonBox const &rhs)
Definition: GeoDataLatLonBox.cpp:59
QString
MarbleGlobal.h
GeoDataLocation.h
Marble::GeoDataScale
Definition: GeoDataScale.h:22
Marble::GeoDataResourceMap
Definition: GeoDataResourceMap.h:22
Marble::GeoDataLocation
Definition: GeoDataLocation.h:23
GeoDataAlias.h
GeoDataScale.h
GeoDataGeometry.h
Marble::GeoDataOrientation
Definition: GeoDataOrientation.h:21
GeoDataOrientation.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:39 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
  • 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