Marble

GeoDataTimePrimitive.h
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 <[email protected]>
9 //
10 
11 #ifndef MARBLE_GEODATATIMEPRIMITIVE_H
12 #define MARBLE_GEODATATIMEPRIMITIVE_H
13 
14 #include "GeoDataObject.h"
15 
16 #include "geodata_export.h"
17 
18 namespace Marble
19 {
20 
21 class GeoDataTimePrimitivePrivate;
22 
23 /**
24  * @short a base class for the style classes
25  *
26  * A GeoDataTimePrimitive is a base class for the time classes TimeSpan
27  * and TimeStamp classes.
28  *
29  * @see GeoDataTimeSpan
30  * @see GeoDataTimeStamp
31  */
32 class GEODATA_EXPORT GeoDataTimePrimitive : public GeoDataObject
33 {
34  public:
35  /// Provides type information for downcasting a GeoNode
36  const char* nodeType() const override;
37 
38  GeoDataTimePrimitive& operator=( const GeoDataTimePrimitive& other );
39 
40  /**
41  * @brief Serialize the styleselector to a stream
42  * @param stream the stream
43  */
44  void pack( QDataStream& stream ) const override;
45 
46  /**
47  * @brief Unserialize the styleselector from a stream
48  * @param stream the stream
49  */
50  void unpack( QDataStream& stream ) override;
51 
54  ~GeoDataTimePrimitive() override;
55 private:
56  GeoDataTimePrimitivePrivate * const d;
57 };
58 
59 }
60 
61 #endif
a base class for the style classes
Binds a QML item to a specific geodetic location in screen coordinates.
A base class for all geodata objects.
Definition: GeoDataObject.h:48
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Mar 2 2021 03:33:16 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.