• 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
  • lib
  • marble
  • geodata
  • data
GeoDataAbstractView.cpp
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 // Copyright 2013 Dennis Nienhüser <earthwings@gentoo.org>
10 //
11 
12 #include "GeoDataAbstractView.h"
13 
14 namespace Marble {
15 
16 class GeoDataAbstractViewPrivate
17 {
18 public:
19  GeoDataTimeSpan m_timeSpan;
20  GeoDataTimeStamp m_timeStamp;
21 };
22 
23 GeoDataAbstractView::GeoDataAbstractView() :
24  d( new GeoDataAbstractViewPrivate )
25 {
26  // nothing to do
27 }
28 
29 GeoDataAbstractView::~GeoDataAbstractView()
30 {
31  delete d;
32 }
33 
34 GeoDataAbstractView::GeoDataAbstractView( const GeoDataAbstractView &other ) :
35  GeoDataObject( other ),
36  d( new GeoDataAbstractViewPrivate( *other.d ) )
37 {
38  // nothing to do
39 }
40 
41 GeoDataAbstractView &GeoDataAbstractView::operator =( const GeoDataAbstractView &other )
42 {
43  GeoDataObject::operator=( other );
44  *d = *other.d;
45  return *this;
46 }
47 
48 const GeoDataTimeSpan &GeoDataAbstractView::timeSpan() const
49 {
50  return d->m_timeSpan;
51 }
52 
53 GeoDataTimeSpan &GeoDataAbstractView::timeSpan()
54 {
55  return d->m_timeSpan;
56 }
57 
58 void GeoDataAbstractView::setTimeSpan( const GeoDataTimeSpan &timeSpan )
59 {
60  d->m_timeSpan = timeSpan;
61 }
62 
63 GeoDataTimeStamp &GeoDataAbstractView::timeStamp()
64 {
65  return d->m_timeStamp;
66 }
67 
68 const GeoDataTimeStamp &GeoDataAbstractView::timeStamp() const
69 {
70  return d->m_timeStamp;
71 }
72 
73 void GeoDataAbstractView::setTimeStamp( const GeoDataTimeStamp &timeStamp )
74 {
75  d->m_timeStamp = timeStamp;
76 }
77 
78 }
Marble::GeoDataAbstractView
Definition: GeoDataAbstractView.h:28
GeoDataAbstractView.h
Marble::GeoDataTimeStamp
Definition: GeoDataTimeStamp.h:27
Marble::GeoDataObject
A base class for all geodata objects.
Definition: GeoDataObject.h:48
Marble::GeoDataAbstractView::timeStamp
GeoDataTimeStamp & timeStamp()
Definition: GeoDataAbstractView.cpp:63
Marble::GeoDataAbstractView::~GeoDataAbstractView
~GeoDataAbstractView()
Definition: GeoDataAbstractView.cpp:29
Marble::GeoDataAbstractView::operator=
GeoDataAbstractView & operator=(const GeoDataAbstractView &other)
Definition: GeoDataAbstractView.cpp:41
Marble::GeoDataAbstractView::timeSpan
const GeoDataTimeSpan & timeSpan() const
Definition: GeoDataAbstractView.cpp:48
Marble::GeoDataAbstractView::GeoDataAbstractView
GeoDataAbstractView()
Definition: GeoDataAbstractView.cpp:23
Marble::GeoDataAbstractView::setTimeStamp
void setTimeStamp(const GeoDataTimeStamp &timeStamp)
Definition: GeoDataAbstractView.cpp:73
Marble::GeoDataTimeSpan
Definition: GeoDataTimeSpan.h:27
Marble::GeoDataObject::operator=
GeoDataObject & operator=(const GeoDataObject &)
Definition: GeoDataObject.cpp:54
Marble::GeoDataAbstractView::setTimeSpan
void setTimeSpan(const GeoDataTimeSpan &timeSpan)
Definition: GeoDataAbstractView.cpp:58
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:49 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