• 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
GeoDataTimeSpan.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 2010 Harshit Jain <hjain.itbhu@gmail.com>
9 //
10 
11 #ifndef MARBLE_GEODATATIMESPAN_H
12 #define MARBLE_GEODATATIMESPAN_H
13 
14 #include <QString>
15 #include <QDateTime>
16 
17 #include "GeoDataObject.h"
18 #include "GeoDataTimePrimitive.h"
19 #include "GeoDataTimeStamp.h"
20 
21 #include "geodata_export.h"
22 
23 namespace Marble
24 {
25 
26 class GeoDataTimeSpanPrivate;
27 
28 class GEODATA_EXPORT GeoDataTimeSpan : public GeoDataTimePrimitive
29 {
30  public:
31 
32  GeoDataTimeSpan();
33  GeoDataTimeSpan( const GeoDataTimeSpan& other );
34  ~GeoDataTimeSpan();
35 
39  GeoDataTimeSpan& operator=( const GeoDataTimeSpan& other );
40 
44  bool operator==( const GeoDataTimeSpan& other ) const;
45  bool operator!=( const GeoDataTimeSpan& other ) const;
46 
48  virtual const char* nodeType() const;
49 
53  const GeoDataTimeStamp & begin() const;
54  GeoDataTimeStamp & begin();
55 
60  void setBegin( const GeoDataTimeStamp& begin );
61 
65  const GeoDataTimeStamp & end() const;
66  GeoDataTimeStamp & end();
67 
72  void setEnd( const GeoDataTimeStamp& end );
73 
77  bool isValid() const;
78 
83  virtual void pack( QDataStream& stream ) const;
84 
89  virtual void unpack( QDataStream& stream );
90 
91  private:
92  GeoDataTimeSpanPrivate * const d;
93 };
94 
95 }
96 
97 #endif //MARBLE_GEODATATIMESPAN_H
Marble::GeoDataTimePrimitive
a base class for the style classes
Definition: GeoDataTimePrimitive.h:34
Marble::GeoDataTimeStamp
Definition: GeoDataTimeStamp.h:27
QDataStream
GeoDataTimeStamp.h
Marble::GeoDataTimeSpanPrivate
Definition: GeoDataTimeSpan_p.h:22
Marble::operator==
bool operator==(const DownloadPolicyKey &lhs, const DownloadPolicyKey &rhs)
Definition: DownloadPolicy.h:49
GeoDataObject.h
Marble::operator!=
bool operator!=(GeoDataLatLonBox const &lhs, GeoDataLatLonBox const &rhs)
Definition: GeoDataLatLonBox.cpp:59
Marble::GeoDataTimeSpan
Definition: GeoDataTimeSpan.h:28
GeoDataTimePrimitive.h
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