Marble

GeoDataTimePrimitive.h
1// SPDX-License-Identifier: LGPL-2.1-or-later
2//
3// SPDX-FileCopyrightText: 2010 Harshit Jain <hjain.itbhu@gmail.com>
4//
5
6#ifndef MARBLE_GEODATATIMEPRIMITIVE_H
7#define MARBLE_GEODATATIMEPRIMITIVE_H
8
9#include "GeoDataObject.h"
10
11#include "geodata_export.h"
12
13namespace Marble
14{
15
16class GeoDataTimePrimitivePrivate;
17
18/**
19 * @short a base class for the style classes
20 *
21 * A GeoDataTimePrimitive is a base class for the time classes TimeSpan
22 * and TimeStamp classes.
23 *
24 * @see GeoDataTimeSpan
25 * @see GeoDataTimeStamp
26 */
27class GEODATA_EXPORT GeoDataTimePrimitive : public GeoDataObject
28{
29 public:
30 /// Provides type information for downcasting a GeoNode
31 const char* nodeType() const override;
32
33 GeoDataTimePrimitive& operator=( const GeoDataTimePrimitive& other );
34
35 /**
36 * @brief Serialize the styleselector to a stream
37 * @param stream the stream
38 */
39 void pack( QDataStream& stream ) const override;
40
41 /**
42 * @brief Unserialize the styleselector from a stream
43 * @param stream the stream
44 */
45 void unpack( QDataStream& stream ) override;
46
49 ~GeoDataTimePrimitive() override;
50private:
51 GeoDataTimePrimitivePrivate * const d;
52};
53
54}
55
56#endif
A base class for all geodata objects.
a base class for the style classes
Binds a QML item to a specific geodetic location in screen coordinates.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:18:17 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.