OSM::Relation

Search for usage in LXR

#include <datatypes.h>

Public Member Functions

 Relation (const Relation &)=default
 
 Relation (Relation &&other) noexcept
 
constexpr bool operator< (const Relation &other) const
 
constexpr bool operator< (Id other) const
 
Relationoperator= (const Relation &other)=default
 
Relationoperator= (Relation &&other) noexcept
 
QString url () const
 

Public Attributes

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

Detailed Description

An OSM relation.

Definition at line 316 of file datatypes.h.

Constructor & Destructor Documentation

◆ Relation()

OSM::Relation::Relation ( Relation && other)
inlinenoexcept

Definition at line 320 of file datatypes.h.

Member Function Documentation

◆ operator<() [1/2]

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

Definition at line 334 of file datatypes.h.

◆ operator<() [2/2]

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

Definition at line 335 of file datatypes.h.

◆ operator=()

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

Definition at line 325 of file datatypes.h.

◆ url()

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

Definition at line 147 of file datatypes.cpp.

Member Data Documentation

◆ bbox

BoundingBox OSM::Relation::bbox
mutable

Definition at line 340 of file datatypes.h.

◆ id

Id OSM::Relation::id

Definition at line 339 of file datatypes.h.

◆ members

std::vector<Member> OSM::Relation::members

Definition at line 341 of file datatypes.h.

◆ tags

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

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