• 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
GeoDataTimePrimitive.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 2010 Harshit Jain <hjain.itbhu@gmail.com>
9 //
10 
11 // Own
12 #include "GeoDataTimePrimitive.h"
13 
14 // Private
15 #include "GeoDataTimePrimitive_p.h"
16 
17 // Qt
18 #include <QDataStream>
19 
20 // GeoData
21 #include "GeoDataTypes.h"
22 
23 namespace Marble
24 {
25 
26 GeoDataTimePrimitive::GeoDataTimePrimitive()
27  : GeoDataObject(), d( new GeoDataTimePrimitivePrivate )
28 {
29 }
30 
31 GeoDataTimePrimitive::GeoDataTimePrimitive( const GeoDataTimePrimitive& other )
32  : GeoDataObject( other ), d( new GeoDataTimePrimitivePrivate( *other.d ) )
33 {
34 }
35 
36 GeoDataTimePrimitive::~GeoDataTimePrimitive()
37 {
38  delete d;
39 }
40 
41 GeoDataTimePrimitive& GeoDataTimePrimitive::operator=( const GeoDataTimePrimitive& other )
42 {
43  GeoDataObject::operator=( other );
44  *d = *other.d;
45  return *this;
46 }
47 
48 const char* GeoDataTimePrimitive::nodeType() const
49 {
50  return d->nodeType();
51 }
52 
53 void GeoDataTimePrimitive::pack( QDataStream& stream ) const
54 {
55  GeoDataObject::pack( stream );
56 }
57 
58 void GeoDataTimePrimitive::unpack( QDataStream& stream )
59 {
60  GeoDataObject::unpack( stream );
61 }
62 
63 }
Marble::GeoDataTimePrimitive::operator=
GeoDataTimePrimitive & operator=(const GeoDataTimePrimitive &other)
Definition: GeoDataTimePrimitive.cpp:41
Marble::GeoDataTimePrimitive
a base class for the style classes
Definition: GeoDataTimePrimitive.h:34
Marble::GeoDataTimePrimitive::unpack
virtual void unpack(QDataStream &stream)
Unserialize the styleselector from a stream.
Definition: GeoDataTimePrimitive.cpp:58
QDataStream
Marble::GeoDataObject
A base class for all geodata objects.
Definition: GeoDataObject.h:48
Marble::GeoDataTimePrimitivePrivate::nodeType
const char * nodeType() const
Definition: GeoDataTimePrimitive_p.h:24
Marble::GeoDataObject::pack
virtual void pack(QDataStream &stream) const
Reimplemented from Serializable.
Definition: GeoDataObject.cpp:114
Marble::GeoDataTimePrimitive::nodeType
virtual const char * nodeType() const
Provides type information for downcasting a GeoNode.
Definition: GeoDataTimePrimitive.cpp:48
Marble::GeoDataTimePrimitive::~GeoDataTimePrimitive
~GeoDataTimePrimitive()
Definition: GeoDataTimePrimitive.cpp:36
Marble::GeoDataTimePrimitive::GeoDataTimePrimitive
GeoDataTimePrimitive()
Definition: GeoDataTimePrimitive.cpp:26
Marble::GeoDataTimePrimitive::pack
virtual void pack(QDataStream &stream) const
Serialize the styleselector to a stream.
Definition: GeoDataTimePrimitive.cpp:53
GeoDataTimePrimitive.h
Marble::GeoDataObject::operator=
GeoDataObject & operator=(const GeoDataObject &)
Definition: GeoDataObject.cpp:54
Marble::GeoDataTimePrimitivePrivate
Definition: GeoDataTimePrimitive_p.h:21
Marble::GeoDataObject::unpack
virtual void unpack(QDataStream &steam)
Reimplemented from Serializable.
Definition: GeoDataObject.cpp:120
GeoDataTypes.h
GeoDataTimePrimitive_p.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