• 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
GeoDataSimpleArrayData.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 2011 Niko Sams <niko.sams@gmail.com>
9 //
10 
11 #ifndef MARBLE_GEODATASIMPLEARRAYDATA_H
12 #define MARBLE_GEODATASIMPLEARRAYDATA_H
13 
14 #include "GeoDataObject.h"
15 
16 #include <QVariant>
17 
18 namespace Marble {
19 
20 class GeoDataSimpleArrayDataPrivate;
21 
22 class GEODATA_EXPORT GeoDataSimpleArrayData : public GeoDataObject
23 {
24 
25 public:
26  GeoDataSimpleArrayData();
27  GeoDataSimpleArrayData( const GeoDataSimpleArrayData& other );
28  bool operator==( const GeoDataSimpleArrayData &other ) const;
29  bool operator!=( const GeoDataSimpleArrayData &other) const;
30  ~GeoDataSimpleArrayData();
31 
35  int size() const;
36 
40  QVariant valueAt( int index ) const;
41 
45  QList< QVariant > valuesList() const;
46 
50  void append( const QVariant& value );
51 
52  virtual const char* nodeType() const;
53  virtual void pack( QDataStream& stream ) const;
54  virtual void unpack( QDataStream& stream );
55 
56 private:
57  GeoDataSimpleArrayDataPrivate *d;
58 };
59 
60 }
61 
62 #endif // MARBLE_GEODATASIMPLEARRAYDATA_H
QDataStream
Marble::GeoDataObject
A base class for all geodata objects.
Definition: GeoDataObject.h:48
Marble::operator==
bool operator==(const DownloadPolicyKey &lhs, const DownloadPolicyKey &rhs)
Definition: DownloadPolicy.h:49
Marble::GeoDataSimpleArrayData
Definition: GeoDataSimpleArrayData.h:22
GeoDataObject.h
Marble::operator!=
bool operator!=(GeoDataLatLonBox const &lhs, GeoDataLatLonBox const &rhs)
Definition: GeoDataLatLonBox.cpp:59
QList< QVariant >
GEODATA_EXPORT
#define GEODATA_EXPORT
Definition: geodata_export.h:22
QVariant
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