marble
GeoDataExtendedData.cpp
Go to the documentation of this file.
89 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:105
QHash< QString, GeoDataData > hash
Definition: GeoDataExtendedData_p.h:34
virtual void pack(QDataStream &stream) const
Serialize the ExtendedData to a stream.
Definition: GeoDataExtendedData.cpp:100
GeoDataData & valueRef(const QString &key) const
return value of GeoDataExtendedData object associated with the given key as a modifiable reference ...
Definition: GeoDataExtendedData.cpp:49
virtual const char * nodeType() const
Provides type information for downcasting a GeoNode.
Definition: GeoDataExtendedData.cpp:44
virtual void pack(QDataStream &stream) const
Reimplemented from Serializable.
Definition: GeoDataObject.cpp:114
virtual ~GeoDataExtendedData()
Definition: GeoDataExtendedData.cpp:31
QHash< QString, GeoDataData >::const_iterator constEnd() const
return const End iterator for QHash
Definition: GeoDataExtendedData.cpp:69
a class which allows to add custom data to KML Feature.
Definition: GeoDataExtendedData.h:35
GeoDataExtendedData & operator=(const GeoDataExtendedData &other)
assignment operator
Definition: GeoDataExtendedData.cpp:37
GeoDataData value(const QString &key) const
return the value of GeoDataExtendedData associated with the given key
Definition: GeoDataExtendedData.cpp:54
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:94
Definition: GeoDataData.h:26
void addValue(const GeoDataData &data)
add a data object to the GeoDataExtendedData with the key
Definition: GeoDataExtendedData.cpp:59
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:84
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:89
QHash< QString, GeoDataData >::const_iterator constBegin() const
return const Begin iterator for QHash
Definition: GeoDataExtendedData.cpp:64
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:49 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:49 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.