OSM::Node

Search for usage in LXR

#include <datatypes.h>

Public Member Functions

 Node (const Node &)=default
 
 Node (Node &&other) noexcept
 
constexpr bool operator< (const Node &other) const
 
constexpr bool operator< (Id other) const
 
Nodeoperator= (const Node &other)=default
 
Nodeoperator= (Node &&other) noexcept
 
QString url () const
 

Public Attributes

Coordinate coordinate
 
Id id
 
std::vector< Tagtags
 

Detailed Description

An OSM node.

Definition at line 204 of file datatypes.h.

Constructor & Destructor Documentation

◆ Node()

OSM::Node::Node ( Node && other)
inlinenoexcept

Definition at line 208 of file datatypes.h.

Member Function Documentation

◆ operator<() [1/2]

bool OSM::Node::operator< ( const Node & other) const
inlinenodiscardconstexpr

Definition at line 221 of file datatypes.h.

◆ operator<() [2/2]

bool OSM::Node::operator< ( Id other) const
inlinenodiscardconstexpr

Definition at line 222 of file datatypes.h.

◆ operator=()

Node & OSM::Node::operator= ( Node && other)
inlinenoexcept

Definition at line 213 of file datatypes.h.

◆ url()

QString Node::url ( ) const
nodiscard

Definition at line 132 of file datatypes.cpp.

Member Data Documentation

◆ coordinate

Coordinate OSM::Node::coordinate

Definition at line 227 of file datatypes.h.

◆ id

Id OSM::Node::id

Definition at line 226 of file datatypes.h.

◆ tags

std::vector<Tag> OSM::Node::tags

Definition at line 228 of file datatypes.h.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:17:55 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.