Marble

Marble::OsmIdentifier Struct Reference

#include <OsmPlacemarkData.h>

Public Member Functions

 OsmIdentifier (qint64 _id, OsmType _type)
 
bool operator== (OsmIdentifier other) const
 

Public Attributes

qint64 id = 0
 
OsmType type = OsmType::Way
 

Detailed Description

Identifier for an OSM element.

Note
OSM uses distinct id spaces for all its three basic element types, so just the numeric id on its own doesn't identify an element without knowing its type.

Definition at line 35 of file OsmPlacemarkData.h.

Constructor & Destructor Documentation

◆ OsmIdentifier()

Marble::OsmIdentifier::OsmIdentifier ( qint64 _id,
OsmType _type )
inline

Definition at line 37 of file OsmPlacemarkData.h.

Member Function Documentation

◆ operator==()

bool Marble::OsmIdentifier::operator== ( OsmIdentifier other) const
inline

Definition at line 46 of file OsmPlacemarkData.h.

Member Data Documentation

◆ id

qint64 Marble::OsmIdentifier::id = 0

Definition at line 43 of file OsmPlacemarkData.h.

◆ type

OsmType Marble::OsmIdentifier::type = OsmType::Way

Definition at line 44 of file OsmPlacemarkData.h.


The documentation for this struct was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 8 2024 12:02:45 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.