Marble
OsmPlacemarkData.cpp
171 void OsmPlacemarkData::addNodeReference( const GeoDataCoordinates &key, const OsmPlacemarkData &value )
186 void OsmPlacemarkData::changeNodeReference( const GeoDataCoordinates &oldKey, const GeoDataCoordinates &newKey )
197 QHash< GeoDataCoordinates, OsmPlacemarkData >::const_iterator OsmPlacemarkData::nodeReferencesBegin() const
202 QHash< GeoDataCoordinates, OsmPlacemarkData >::const_iterator OsmPlacemarkData::nodeReferencesEnd() const
286 QHash< OsmIdentifier, QString >::const_iterator OsmPlacemarkData::relationReferencesBegin() const
309 OsmPlacemarkData OsmPlacemarkData::fromParserAttributes( const QXmlStreamAttributes &attributes )
const T value(const Key &key) const const
OsmPlacemarkData & memberReference(int key)
this function returns the osmData associated with a member boundary's index -1 represents the outer b...
Definition: OsmPlacemarkData.cpp:208
bool isEmpty() const
isEmpty returns true if no attribute other than the id has been set
Definition: OsmPlacemarkData.cpp:301
QStringRef value(const QString &namespaceUri, const QString &name) const const
QHash::iterator begin()
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:121
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:142
static OsmPlacemarkData fromParserAttributes(const QXmlStreamAttributes &attributes)
fromParserAttributes is a convenience function that parses all osm-related arguments of a tag
Definition: OsmPlacemarkData.cpp:309
QHash::iterator insert(const Key &key, const T &value)
bool isNull() const
isNull returns false if the osmData is loaded from a source or true if its just default constructed
Definition: OsmPlacemarkData.cpp:296
QHash::const_iterator constEnd() const const
const char * nodeType() const override
Provides type information for downcasting a GeoNode.
Definition: OsmPlacemarkData.cpp:323
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:116
QHash< QString, QString >::const_iterator tagsBegin() const
iterators for the tags hash.
Definition: OsmPlacemarkData.cpp:147
KCALENDARCORE_EXPORT uint qHash(const KCalendarCore::Period &key)
Binds a QML item to a specific geodetic location in screen coordinates.
Definition: AbstractDataPlugin.cpp:22
OsmPlacemarkData & nodeReference(const GeoDataCoordinates &coordinates)
this function returns the osmData associated with a nd
Definition: OsmPlacemarkData.cpp:161
QHash::const_iterator constFind(const Key &key) const const
This class is used to encapsulate the osm data fields kept within a placemark's extendedData.
Definition: OsmPlacemarkData.h:66
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:186
KDB_EXPORT KDbVersionInfo version()
int remove(const Key &key)
bool isEmpty() const const
void addNodeReference(const GeoDataCoordinates &key, const OsmPlacemarkData &value)
addRef this function inserts a GeoDataCoordinates = OsmPlacemarkData mapping into the reference hash,...
Definition: OsmPlacemarkData.cpp:171
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:131
void removeRelation(qint64 id)
Definition: OsmPlacemarkData.cpp:268
void addMemberReference(int key, const OsmPlacemarkData &value)
addRef this function inserts a int = OsmplacemarkData mapping into the reference hash,...
Definition: OsmPlacemarkData.cpp:219
bool contains(const Key &key) const const
bool containsRelation(qint64 id) const
Definition: OsmPlacemarkData.cpp:277
void removeTag(const QString &key)
removeTag removes the tag from the tag hash
Definition: OsmPlacemarkData.cpp:126
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:263
QHash< GeoDataCoordinates, OsmPlacemarkData > & nodeReferences()
iterators for the reference hashes.
Definition: OsmPlacemarkData.cpp:192
bool containsTagKey(const QString &key) const
containsTagKey returns true if the tag hash contains an entry with the key as key
Definition: OsmPlacemarkData.cpp:137
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Sep 23 2023 04:12:07 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Sep 23 2023 04:12:07 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.