Libosmium
2.2.0
Fast and flexible C++ library for working with OpenStreetMap data
|
#include <node_ref.hpp>
Public Member Functions | |
NodeRef (const osmium::object_id_type ref=0, const osmium::Location &location=Location()) noexcept | |
osmium::object_id_type | ref () const noexcept |
osmium::unsigned_object_id_type | positive_ref () const noexcept |
osmium::Location & | location () noexcept |
osmium::Location | location () const noexcept |
double | lon () const |
double | lat () const |
int32_t | x () const noexcept |
int32_t | y () const noexcept |
NodeRef & | set_ref (const osmium::object_id_type ref) noexcept |
NodeRef & | set_location (const osmium::Location &location) noexcept |
Private Attributes | |
osmium::object_id_type | m_ref |
osmium::Location | m_location |
This reference to a node contains a node ID and a (possibly empty) location.
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
Get reference to location in this NodeRef. Can be used to update it.
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
private |
|
private |