Marble::OsmPlacemarkDataHashRef
#include <OsmPlacemarkData.h>
Public Member Functions | |
QHash< int, OsmPlacemarkData > & | memberReferences () |
QHash< int, OsmPlacemarkData >::const_iterator | memberReferencesBegin () const |
QHash< int, OsmPlacemarkData >::const_iterator | memberReferencesEnd () const |
QHash< GeoDataCoordinates, OsmPlacemarkData > & | nodeReferences () |
QHash< GeoDataCoordinates, OsmPlacemarkData >::const_iterator | nodeReferencesBegin () const |
QHash< GeoDataCoordinates, OsmPlacemarkData >::const_iterator | nodeReferencesEnd () const |
Public Attributes | |
QHash< int, OsmPlacemarkData > | m_memberReferences |
QHash< GeoDataCoordinates, OsmPlacemarkData > | m_nodeReferences |
Detailed Description
Container to host hash-table functions with OsmPlacemarkData as values.
This container is necessary with Qt 6.6 under MSVC 2022 as compiler refuse to build a QHash of a not fully defined class as value.
E:\dk\x64-windows\include\Qt6\QtCore/qhash.h(76,7): error C2079: 'QHashPrivate::Node<Key,T>::value' uses undefined class 'Marble::OsmPlacemarkData' [C:\Users\gilles\Documents\marble\build.vcpkg\src\lib\marble\marblewidget.vcxproj] with [ Key=Marble::GeoDataCoordinates, T=Marble::OsmPlacemarkData ] E:\dk\x64-windows\include\Qt6\QtCore/qhash.h(858,1): message : see reference to class template instantiation 'QHashPrivate::Node<Key,T>' being compiled [C:\Users\gilles\Documents\marble\build.vcpkg\src\lib\marble\marblewidget.vcxproj] with [ Key=Marble::GeoDataCoordinates, T=Marble::OsmPlacemarkData ]
Definition at line 255 of file OsmPlacemarkData.h.
Member Function Documentation
◆ memberReferences()
QHash< int, OsmPlacemarkData > & Marble::OsmPlacemarkDataHashRef::memberReferences | ( | ) |
Definition at line 326 of file OsmPlacemarkData.cpp.
◆ memberReferencesBegin()
QHash< int, OsmPlacemarkData >::const_iterator Marble::OsmPlacemarkDataHashRef::memberReferencesBegin | ( | ) | const |
Definition at line 331 of file OsmPlacemarkData.cpp.
◆ memberReferencesEnd()
QHash< int, OsmPlacemarkData >::const_iterator Marble::OsmPlacemarkDataHashRef::memberReferencesEnd | ( | ) | const |
Definition at line 336 of file OsmPlacemarkData.cpp.
◆ nodeReferences()
QHash< GeoDataCoordinates, OsmPlacemarkData > & Marble::OsmPlacemarkDataHashRef::nodeReferences | ( | ) |
iterators for the reference hashes.
Definition at line 311 of file OsmPlacemarkData.cpp.
◆ nodeReferencesBegin()
QHash< GeoDataCoordinates, OsmPlacemarkData >::const_iterator Marble::OsmPlacemarkDataHashRef::nodeReferencesBegin | ( | ) | const |
Definition at line 316 of file OsmPlacemarkData.cpp.
◆ nodeReferencesEnd()
QHash< GeoDataCoordinates, OsmPlacemarkData >::const_iterator Marble::OsmPlacemarkDataHashRef::nodeReferencesEnd | ( | ) | const |
Definition at line 321 of file OsmPlacemarkData.cpp.
Member Data Documentation
◆ m_memberReferences
QHash<int, OsmPlacemarkData> Marble::OsmPlacemarkDataHashRef::m_memberReferences |
m_memberRefs is used to store a polygon's member boundaries the key represents the index of the boundary within the polygon geometry: -1 represents the outerBoundary, and 0,1,2... its innerBoundaries, in the order provided by polygon->innerBoundaries()
Definition at line 283 of file OsmPlacemarkData.h.
◆ m_nodeReferences
QHash<GeoDataCoordinates, OsmPlacemarkData> Marble::OsmPlacemarkDataHashRef::m_nodeReferences |
m_ndRefs is used to store a way's component nodes ( It is empty for other placemark types )
Definition at line 275 of file OsmPlacemarkData.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:15 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.