1#ifndef OSMIUM_OSM_NODE_REF_LIST_HPP
2#define OSMIUM_OSM_NODE_REF_LIST_HPP
85 assert(size_node_refs %
sizeof(
NodeRef) == 0);
86 return size_node_refs /
sizeof(
NodeRef);
180 assert(
front().location() &&
back().location());
192 for (
const auto& node_ref : *
this) {
193 box.extend(node_ref.location());
Definition: node_ref_list.hpp:52
const_iterator cbegin() const noexcept
Returns an iterator to the beginning.
Definition: node_ref_list.hpp:209
osmium::Box envelope() const noexcept
Definition: node_ref_list.hpp:190
iterator begin() noexcept
Returns an iterator to the beginning.
Definition: node_ref_list.hpp:199
std::size_t size_type
Definition: node_ref_list.hpp:63
const NodeRef & operator[](size_type n) const noexcept
Definition: node_ref_list.hpp:98
const NodeRef & front() const noexcept
Definition: node_ref_list.hpp:126
bool is_closed() const noexcept
Definition: node_ref_list.hpp:151
const_iterator cend() const noexcept
Returns an iterator to the end.
Definition: node_ref_list.hpp:214
NodeRefList(osmium::item_type itemtype) noexcept
Definition: node_ref_list.hpp:65
std::ptrdiff_t difference_type
Definition: node_ref_list.hpp:62
iterator end() noexcept
Returns an iterator to the end.
Definition: node_ref_list.hpp:204
size_type size() const noexcept
Definition: node_ref_list.hpp:83
bool ends_have_same_location() const
Definition: node_ref_list.hpp:178
const_reverse_iterator crend() const noexcept
Returns a reverse_iterator to the end.
Definition: node_ref_list.hpp:234
std::reverse_iterator< const NodeRef * > const_reverse_iterator
Definition: node_ref_list.hpp:61
bool ends_have_same_id() const noexcept
Definition: node_ref_list.hpp:164
const_iterator begin() const noexcept
Returns an iterator to the beginning.
Definition: node_ref_list.hpp:219
const_reverse_iterator crbegin() const noexcept
Returns a reverse_iterator to the beginning.
Definition: node_ref_list.hpp:229
bool empty() const noexcept
Definition: node_ref_list.hpp:74
const NodeRef & back() const noexcept
Definition: node_ref_list.hpp:138
const_iterator end() const noexcept
Returns an iterator to the end.
Definition: node_ref_list.hpp:224
NodeRef & operator[](size_type n) noexcept
Definition: node_ref_list.hpp:113
Definition: node_ref.hpp:50
constexpr osmium::object_id_type ref() const noexcept
Definition: node_ref.hpp:71
osmium::Location & location() noexcept
Definition: node_ref.hpp:85
item_size_type byte_size() const noexcept
Definition: item.hpp:163
Namespace for everything in the Osmium library.
Definition: assembler.hpp:53
item_type
Definition: item_type.hpp:45