marble
#include <GeoDataExtendedData.h>

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.
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.
      
  | 
  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.
      
  | 
  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.
      
  | 
  virtual | 
Serialize the ExtendedData to a stream.
- Parameters
 - 
  
stream the 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.
      
  | 
  virtual | 
Unserialize the ExtendedData from a stream.
- Parameters
 - 
  
stream the 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:
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.
    KDE API Reference
 Public Member Functions inherited from