• 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
GeoDataAbstractView.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 2009 Gaurav Gupta <1989.gaurav@googlemail.com>
9 //
10 
11 #ifndef MARBLE_GEODATAABSTRACTVIEW_H
12 #define MARBLE_GEODATAABSTRACTVIEW_H
13 
14 #include "MarbleGlobal.h"
15 #include "GeoDataObject.h"
16 #include "GeoDataTimeSpan.h"
17 #include "GeoDataTimeStamp.h"
18 #include "GeoDataCoordinates.h"
19 
20 #include "geodata_export.h"
21 
22 namespace Marble
23 {
24 
25 class GeoDataAbstractViewPrivate;
26 
30 class GEODATA_EXPORT GeoDataAbstractView : public GeoDataObject
31 {
32  public:
33  GeoDataAbstractView();
34 
35  ~GeoDataAbstractView();
36 
37  GeoDataAbstractView( const GeoDataAbstractView &other );
38 
39  GeoDataAbstractView& operator=( const GeoDataAbstractView &other );
40 
41  virtual GeoDataAbstractView *copy() const = 0;
42 
43  const GeoDataTimeSpan& timeSpan() const;
44 
45  GeoDataTimeSpan& timeSpan();
46 
47  void setTimeSpan( const GeoDataTimeSpan &timeSpan );
48 
49  GeoDataTimeStamp& timeStamp();
50 
51  const GeoDataTimeStamp& timeStamp() const;
52 
53  void setTimeStamp( const GeoDataTimeStamp &timeStamp );
54 
55  AltitudeMode altitudeMode() const;
56 
57  void setAltitudeMode(const AltitudeMode altitudeMode);
58 
59  GeoDataCoordinates coordinates() const;
60 
61 private:
62  GeoDataAbstractViewPrivate* const d;
63 
64 protected:
65  bool equals(const GeoDataAbstractView &other) const;
66 
67  using GeoDataObject::equals;
68 };
69 
70 } // namespace Marble
71 
72 #endif
GeoDataCoordinates.h
Marble::GeoDataCoordinates
A 3d point representation.
Definition: GeoDataCoordinates.h:52
Marble::GeoDataAbstractView
Definition: GeoDataAbstractView.h:30
Marble::GeoDataTimeStamp
Definition: GeoDataTimeStamp.h:27
Marble::GeoDataObject
A base class for all geodata objects.
Definition: GeoDataObject.h:48
GeoDataTimeStamp.h
Marble::GeoDataObject::equals
virtual bool equals(const GeoDataObject &other) const
Compares the value of id and targetId of the two objects.
Definition: GeoDataObject.cpp:126
GeoDataTimeSpan.h
Marble::AltitudeMode
AltitudeMode
Definition: MarbleGlobal.h:147
GeoDataObject.h
MarbleGlobal.h
Marble::GeoDataTimeSpan
Definition: GeoDataTimeSpan.h:28
GEODATA_EXPORT
#define GEODATA_EXPORT
Definition: geodata_export.h:22
geodata_export.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