• 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
GeoDataDelete.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 2014 Sanjiban Bairagya <sanjiban22393@gmail.com>
9 //
10 
11 #include "GeoDataDelete.h"
12 #include "GeoDataTypes.h"
13 
14 namespace Marble
15 {
16 
17 class GeoDataDeletePrivate
18 {
19 public:
20  GeoDataDeletePrivate();
21 };
22 
23 GeoDataDeletePrivate::GeoDataDeletePrivate()
24 {
25 }
26 
27 GeoDataDelete::GeoDataDelete() :
28  d( new GeoDataDeletePrivate )
29 {
30 }
31 
32 GeoDataDelete::GeoDataDelete( const Marble::GeoDataDelete &other ) :
33  GeoDataContainer(), d( new GeoDataDeletePrivate( *other.d ) )
34 {
35 }
36 
37 GeoDataDelete &GeoDataDelete::operator=( const GeoDataDelete &other )
38 {
39  GeoDataContainer::operator =( other );
40  *d = *other.d;
41  return *this;
42 }
43 
44 bool GeoDataDelete::operator==( const GeoDataDelete &other ) const
45 {
46  if ( !GeoDataContainer::equals(other) ){
47  return false;
48  }
49  return true;
50 }
51 
52 bool GeoDataDelete::operator!=( const GeoDataDelete &other ) const
53 {
54  return !this->operator==( other );
55 }
56 
57 GeoDataDelete::~GeoDataDelete()
58 {
59  delete d;
60 }
61 
62 const char *GeoDataDelete::nodeType() const
63 {
64  return GeoDataTypes::GeoDataDeleteType;
65 }
66 
67 }
Marble::GeoDataDelete::operator==
bool operator==(const GeoDataDelete &other) const
Definition: GeoDataDelete.cpp:44
Marble::GeoDataDelete::nodeType
virtual const char * nodeType() const
Provides type information for downcasting a GeoNode.
Definition: GeoDataDelete.cpp:62
Marble::GeoDataContainer
A base class that can hold GeoDataFeatures.
Definition: GeoDataContainer.h:47
Marble::GeoDataTypes::GeoDataDeleteType
const char * GeoDataDeleteType
Definition: GeoDataTypes.cpp:37
Marble::GeoDataDelete::operator=
GeoDataDelete & operator=(const GeoDataDelete &other)
Definition: GeoDataDelete.cpp:37
Marble::GeoDataDelete::GeoDataDelete
GeoDataDelete()
Definition: GeoDataDelete.cpp:27
Marble::GeoDataDelete::operator!=
bool operator!=(const GeoDataDelete &other) const
Definition: GeoDataDelete.cpp:52
Marble::GeoDataDelete
Definition: GeoDataDelete.h:25
GeoDataDelete.h
GeoDataTypes.h
Marble::GeoDataContainer::equals
bool equals(const GeoDataContainer &other) const
Definition: GeoDataContainer.cpp:66
Marble::GeoDataFeature::operator=
GeoDataFeature & operator=(const GeoDataFeature &other)
Definition: GeoDataFeature.cpp:80
Marble::GeoDataDelete::~GeoDataDelete
~GeoDataDelete()
Definition: GeoDataDelete.cpp:57
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