Marble
OsmPlacemarkData.cpp
173void OsmPlacemarkData::addNodeReference(const GeoDataCoordinates &key, const OsmPlacemarkData &value)
188void OsmPlacemarkData::changeNodeReference(const GeoDataCoordinates &oldKey, const GeoDataCoordinates &newKey)
307// ---------------------------------------------------------------------------------------------------------
316QHash<GeoDataCoordinates, OsmPlacemarkData>::const_iterator OsmPlacemarkDataHashRef::nodeReferencesBegin() const
321QHash<GeoDataCoordinates, OsmPlacemarkData>::const_iterator OsmPlacemarkDataHashRef::nodeReferencesEnd() const
331QHash<int, OsmPlacemarkData>::const_iterator OsmPlacemarkDataHashRef::memberReferencesBegin() const
336QHash<int, OsmPlacemarkData>::const_iterator OsmPlacemarkDataHashRef::memberReferencesEnd() const
Container to host hash-table functions with OsmPlacemarkData as values.
Definition OsmPlacemarkData.h:256
QHash< GeoDataCoordinates, OsmPlacemarkData > m_nodeReferences
m_ndRefs is used to store a way's component nodes ( It is empty for other placemark types )
Definition OsmPlacemarkData.h:275
QHash< GeoDataCoordinates, OsmPlacemarkData > & nodeReferences()
iterators for the reference hashes.
Definition OsmPlacemarkData.cpp:311
This class is used to encapsulate the osm data fields kept within a placemark's extendedData.
Definition OsmPlacemarkData.h:77
OsmPlacemarkData & nodeReference(const GeoDataCoordinates &coordinates)
this function returns the osmData associated with a nd
Definition OsmPlacemarkData.cpp:163
const char * nodeType() const override
Provides type information for downcasting a GeoNode.
Definition OsmPlacemarkData.cpp:302
OsmPlacemarkData & memberReference(int key)
this function returns the osmData associated with a member boundary's index -1 represents the outer b...
Definition OsmPlacemarkData.cpp:194
void removeTag(const QString &key)
removeTag removes the tag from the tag hash
Definition OsmPlacemarkData.cpp:132
bool containsTag(const QString &key, const QString &value) const
containsTag returns true if the tag hash contains an entry with the key as key and value as value
Definition OsmPlacemarkData.cpp:137
void addMemberReference(int key, const OsmPlacemarkData &value)
addRef this function inserts a int = OsmplacemarkData mapping into the reference hash,...
Definition OsmPlacemarkData.cpp:204
bool isEmpty() const
isEmpty returns true if no attribute other than the id has been set
Definition OsmPlacemarkData.cpp:269
bool isNull() const
isNull returns false if the osmData is loaded from a source or true if its just default constructed
Definition OsmPlacemarkData.cpp:264
void addTag(const QString &key, const QString &value)
addTag this function inserts a string key=value mapping, equivalent to the <tag k="@p key" v="@p valu...
Definition OsmPlacemarkData.cpp:127
bool containsRelation(qint64 id) const
Definition OsmPlacemarkData.cpp:246
void changeNodeReference(const GeoDataCoordinates &oldKey, const GeoDataCoordinates &newKey)
changeNodeReference is a convenience function that allows the quick change of a node hash entry.
Definition OsmPlacemarkData.cpp:188
static OsmPlacemarkData fromParserAttributes(const QXmlStreamAttributes &attributes)
fromParserAttributes is a convenience function that parses all osm-related arguments of a tag
Definition OsmPlacemarkData.cpp:274
bool containsTagKey(const QString &key) const
containsTagKey returns true if the tag hash contains an entry with the key as key
Definition OsmPlacemarkData.cpp:143
void removeRelation(qint64 id)
Definition OsmPlacemarkData.cpp:237
void addNodeReference(const GeoDataCoordinates &key, const OsmPlacemarkData &value)
addRef this function inserts a GeoDataCoordinates = OsmPlacemarkData mapping into the reference hash,...
Definition OsmPlacemarkData.cpp:173
QHash< QString, QString >::const_iterator tagsBegin() const
iterators for the tags hash.
Definition OsmPlacemarkData.cpp:153
void addRelation(qint64 id, OsmType type, const QString &role)
addRelation calling this makes the osm placemark a member of the relation with id as id,...
Definition OsmPlacemarkData.cpp:232
QHash< QString, QString >::const_iterator findTag(const QString &key) const
tagValue returns a pointer to the tag that has key as key or the end iterator if there is no such tag
Definition OsmPlacemarkData.cpp:148
OsmPlacemarkDataHashRef * hRef() const
Return the insternal instance of the hash-table functions container.
Definition OsmPlacemarkData.cpp:31
QString tagValue(const QString &key) const
tagValue returns the value of the tag that has key as key or an empty qstring if there is no such tag
Definition OsmPlacemarkData.cpp:122
Binds a QML item to a specific geodetic location in screen coordinates.
Definition AbstractDataPlugin.cpp:23
NETWORKMANAGERQT_EXPORT QString version()
bool contains(const Key &key) const const
iterator insert(const Key &key, const T &value)
bool isEmpty() const const
QStringView value(QAnyStringView namespaceUri, QAnyStringView name) const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:52:10 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:52:10 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.