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
 
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 231 of file datatypes.h.

Constructor & Destructor Documentation

◆ Way()

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

Definition at line 235 of file datatypes.h.

Member Function Documentation

◆ isClosed()

bool OSM::Way::isClosed ( ) const

Definition at line 122 of file datatypes.cpp.

◆ operator<()

constexpr bool OSM::Way::operator< ( const Way & other) const
inlineconstexpr

Definition at line 249 of file datatypes.h.

◆ operator=()

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

Definition at line 240 of file datatypes.h.

◆ url()

QString OSM::Way::url ( ) const

Definition at line 127 of file datatypes.cpp.

Member Data Documentation

◆ bbox

BoundingBox OSM::Way::bbox
mutable

Definition at line 256 of file datatypes.h.

◆ id

Id OSM::Way::id

Definition at line 255 of file datatypes.h.

◆ nodes

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

Definition at line 257 of file datatypes.h.

◆ tags

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

Definition at line 258 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 Sun Feb 25 2024 18:46:39 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.