marble
GeoDataExtendedData.cpp
Go to the documentation of this file.
101 void GeoDataExtendedData::setSimpleArrayData( const QString& key, GeoDataSimpleArrayData *values )
QHash< QString, GeoDataSimpleArrayData * > arrayHash
Definition: GeoDataExtendedData_p.h:35
virtual void unpack(QDataStream &stream)
Unserialize the ExtendedData from a stream.
Definition: GeoDataExtendedData.cpp:117
QHash< QString, GeoDataData > hash
Definition: GeoDataExtendedData_p.h:34
virtual void pack(QDataStream &stream) const
Serialize the ExtendedData to a stream.
Definition: GeoDataExtendedData.cpp:112
GeoDataData & valueRef(const QString &key) const
return value of GeoDataExtendedData object associated with the given key as a modifiable reference ...
Definition: GeoDataExtendedData.cpp:61
virtual bool equals(const GeoDataObject &other) const
Compares the value of id and targetId of the two objects.
Definition: GeoDataObject.cpp:126
virtual const char * nodeType() const
Provides type information for downcasting a GeoNode.
Definition: GeoDataExtendedData.cpp:56
virtual void pack(QDataStream &stream) const
Reimplemented from Serializable.
Definition: GeoDataObject.cpp:114
bool operator==(const GeoDataExtendedData &other) const
Definition: GeoDataExtendedData.cpp:31
virtual ~GeoDataExtendedData()
Definition: GeoDataExtendedData.cpp:38
QHash< QString, GeoDataData >::const_iterator constEnd() const
return const End iterator for QHash
Definition: GeoDataExtendedData.cpp:81
a class which allows to add custom data to KML Feature.
Definition: GeoDataExtendedData.h:35
bool operator!=(const GeoDataExtendedData &other) const
Definition: GeoDataExtendedData.cpp:51
GeoDataExtendedData & operator=(const GeoDataExtendedData &other)
assignment operator
Definition: GeoDataExtendedData.cpp:44
GeoDataData value(const QString &key) const
return the value of GeoDataExtendedData associated with the given key
Definition: GeoDataExtendedData.cpp:66
const char * nodeType() const
Definition: GeoDataExtendedData_p.h:29
GeoDataExtendedData()
Definition: GeoDataExtendedData.cpp:21
GeoDataSimpleArrayData * simpleArrayData(const QString &key) const
return SimpleArrayData for given key, 0 pointer if none is set
Definition: GeoDataExtendedData.cpp:106
Definition: GeoDataData.h:26
void addValue(const GeoDataData &data)
add a data object to the GeoDataExtendedData with the key
Definition: GeoDataExtendedData.cpp:71
GeoDataObject & operator=(const GeoDataObject &)
Definition: GeoDataObject.cpp:54
bool contains(const QString &key) const
Returns true if there exists a value for the given key.
Definition: GeoDataExtendedData.cpp:96
virtual void unpack(QDataStream &steam)
Reimplemented from Serializable.
Definition: GeoDataObject.cpp:120
void setSimpleArrayData(const QString &key, GeoDataSimpleArrayData *values)
set SimpleArrayData for given key
Definition: GeoDataExtendedData.cpp:101
QHash< QString, GeoDataData >::const_iterator constBegin() const
return const Begin iterator for QHash
Definition: GeoDataExtendedData.cpp:76
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
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.