• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

marble

  • Marble
  • GeoDataExtendedData
Public Member Functions | List of all members
Marble::GeoDataExtendedData Class Reference

#include <GeoDataExtendedData.h>

Inheritance diagram for Marble::GeoDataExtendedData:
Inheritance graph
[legend]

Public Member Functions

 GeoDataExtendedData ()
 
 GeoDataExtendedData (const GeoDataExtendedData &other)
 
virtual ~GeoDataExtendedData ()
 
void addValue (const GeoDataData &data)
 
QHash< QString, GeoDataData >
::const_iterator 
constBegin () const
 
QHash< QString, GeoDataData >
::const_iterator 
constEnd () const
 
bool contains (const QString &key) const
 
bool isEmpty () const
 
virtual const char * nodeType () const
 
bool operator!= (const GeoDataExtendedData &other) const
 
GeoDataExtendedData & operator= (const GeoDataExtendedData &other)
 
bool operator== (const GeoDataExtendedData &other) const
 
virtual void pack (QDataStream &stream) const
 
void setSimpleArrayData (const QString &key, GeoDataSimpleArrayData *values)
 
GeoDataSimpleArrayData * simpleArrayData (const QString &key) const
 
int size () const
 
virtual void unpack (QDataStream &stream)
 
GeoDataData value (const QString &key) const
 
GeoDataData & valueRef (const QString &key) const
 
- Public Member Functions inherited from Marble::GeoDataObject
 GeoDataObject ()
 
 GeoDataObject (const GeoDataObject &)
 
virtual ~GeoDataObject ()
 
QString id () const
 
GeoDataObject & operator= (const GeoDataObject &)
 
virtual GeoDataObject * parent () const
 
QString resolvePath (const QString &relativePath) const
 
void setId (const QString &value)
 
virtual void setParent (GeoDataObject *parent)
 
void setTargetId (const QString &value)
 
QString targetId () const
 
- Public Member Functions inherited from Marble::GeoNode
 GeoNode ()
 
virtual ~GeoNode ()
 
- Public Member Functions inherited from Marble::Serializable
virtual ~Serializable ()
 

Additional Inherited Members

- Protected Member Functions inherited from Marble::GeoDataObject
virtual bool equals (const GeoDataObject &other) const
 

Detailed Description

a class which allows to add custom data to KML Feature.

GeoDataData

Definition at line 35 of file GeoDataExtendedData.h.

Constructor & Destructor Documentation

Marble::GeoDataExtendedData::GeoDataExtendedData ( )

Definition at line 21 of file GeoDataExtendedData.cpp.

Marble::GeoDataExtendedData::GeoDataExtendedData ( const GeoDataExtendedData &  other)

Definition at line 26 of file GeoDataExtendedData.cpp.

Marble::GeoDataExtendedData::~GeoDataExtendedData ( )
virtual

Definition at line 38 of file GeoDataExtendedData.cpp.

Member Function Documentation

void Marble::GeoDataExtendedData::addValue ( const GeoDataData &  data)

add a data object to the GeoDataExtendedData with the key

Definition at line 71 of file GeoDataExtendedData.cpp.

QHash< QString, GeoDataData >::const_iterator Marble::GeoDataExtendedData::constBegin ( ) const

return const Begin iterator for QHash

Definition at line 76 of file GeoDataExtendedData.cpp.

QHash< QString, GeoDataData >::const_iterator Marble::GeoDataExtendedData::constEnd ( ) const

return const End iterator for QHash

Definition at line 81 of file GeoDataExtendedData.cpp.

bool Marble::GeoDataExtendedData::contains ( const QString &  key) const

Returns true if there exists a value for the given key.

Definition at line 96 of file GeoDataExtendedData.cpp.

bool Marble::GeoDataExtendedData::isEmpty ( ) const

return wthethe QHash is empty or not

Definition at line 91 of file GeoDataExtendedData.cpp.

const char * Marble::GeoDataExtendedData::nodeType ( ) const
virtual

Provides type information for downcasting a GeoNode.

Implements Marble::GeoDataObject.

Definition at line 56 of file GeoDataExtendedData.cpp.

bool Marble::GeoDataExtendedData::operator!= ( const GeoDataExtendedData &  other) const

Definition at line 51 of file GeoDataExtendedData.cpp.

GeoDataExtendedData & Marble::GeoDataExtendedData::operator= ( const GeoDataExtendedData &  other)

assignment operator

Definition at line 44 of file GeoDataExtendedData.cpp.

bool Marble::GeoDataExtendedData::operator== ( const GeoDataExtendedData &  other) const

Definition at line 31 of file GeoDataExtendedData.cpp.

void Marble::GeoDataExtendedData::pack ( QDataStream &  stream) const
virtual

Serialize the ExtendedData to a stream.

Parameters
streamthe stream

Reimplemented from Marble::GeoDataObject.

Definition at line 112 of file GeoDataExtendedData.cpp.

void Marble::GeoDataExtendedData::setSimpleArrayData ( const QString &  key,
GeoDataSimpleArrayData *  values 
)

set SimpleArrayData for given key

ExtendedData takes ownership of SimpleArrayData

Definition at line 101 of file GeoDataExtendedData.cpp.

GeoDataSimpleArrayData * Marble::GeoDataExtendedData::simpleArrayData ( const QString &  key) const

return SimpleArrayData for given key, 0 pointer if none is set

Definition at line 106 of file GeoDataExtendedData.cpp.

int Marble::GeoDataExtendedData::size ( ) const

return size of QHash

Definition at line 86 of file GeoDataExtendedData.cpp.

void Marble::GeoDataExtendedData::unpack ( QDataStream &  stream)
virtual

Unserialize the ExtendedData from a stream.

Parameters
streamthe stream

Reimplemented from Marble::GeoDataObject.

Definition at line 117 of file GeoDataExtendedData.cpp.

GeoDataData Marble::GeoDataExtendedData::value ( const QString &  key) const

return the value of GeoDataExtendedData associated with the given key

Definition at line 66 of file GeoDataExtendedData.cpp.

GeoDataData & Marble::GeoDataExtendedData::valueRef ( const QString &  key) const

return value of GeoDataExtendedData object associated with the given key as a modifiable reference

Definition at line 61 of file GeoDataExtendedData.cpp.


The documentation for this class was generated from the following files:
  • GeoDataExtendedData.h
  • GeoDataExtendedData.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:44 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