OSM::Way

Search for usage in LXR

#include <datatypes.h>

Public Member Functions

 Way (const Way &)=default
 
 Way (Way &&other) noexcept
 
bool isClosed () const
 
constexpr bool operator< (const Way &other) const
 
constexpr bool operator< (Id other) const
 
Wayoperator= (const Way &other)=default
 
Wayoperator= (Way &&other) noexcept
 
QString url () const
 

Public Attributes

BoundingBox bbox
 
Id id
 
std::vector< Idnodes
 
std::vector< Tagtags
 

Detailed Description

An OSM way.

Definition at line 232 of file datatypes.h.

Constructor & Destructor Documentation

◆ Way()

OSM::Way::Way ( Way && other)
inlinenoexcept

Definition at line 236 of file datatypes.h.

Member Function Documentation

◆ isClosed()

bool OSM::Way::isClosed ( ) const
nodiscard

Definition at line 137 of file datatypes.cpp.

◆ operator<() [1/2]

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

Definition at line 250 of file datatypes.h.

◆ operator<() [2/2]

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

Definition at line 251 of file datatypes.h.

◆ operator=()

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

Definition at line 241 of file datatypes.h.

◆ url()

QString OSM::Way::url ( ) const
nodiscard

Definition at line 142 of file datatypes.cpp.

Member Data Documentation

◆ bbox

BoundingBox OSM::Way::bbox
mutable

Definition at line 258 of file datatypes.h.

◆ id

Id OSM::Way::id

Definition at line 257 of file datatypes.h.

◆ nodes

std::vector<Id> OSM::Way::nodes

Definition at line 259 of file datatypes.h.

◆ tags

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

Definition at line 260 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.