Libosmium
2.20.0
Fast and flexible C++ library for working with OpenStreetMap data
|
#include <nwr_array.hpp>
Public Types | |
using | iterator = typename std::array< T, 3 >::iterator |
using | const_iterator = typename std::array< T, 3 >::const_iterator |
Public Member Functions | |
nwr_array () | |
T & | operator() (const osmium::item_type type) noexcept |
const T & | operator() (const osmium::item_type type) const noexcept |
T & | nodes () noexcept |
const T & | nodes () const noexcept |
T & | ways () noexcept |
const T & | ways () const noexcept |
T & | relations () noexcept |
const T & | relations () const noexcept |
iterator | begin () noexcept |
iterator | end () noexcept |
const_iterator | begin () const noexcept |
const_iterator | end () const noexcept |
const_iterator | cbegin () const noexcept |
const_iterator | cend () const noexcept |
Private Attributes | |
std::array< T, 3 > | m_data |
Often some information must be kept separately for nodes, ways, and relations. Then this helper class becomes useful. It can keep three somethings (of type T) which can be accessed conveniently through the call operator.
using osmium::nwr_array< T >::const_iterator = typename std::array<T, 3>::const_iterator |
using osmium::nwr_array< T >::iterator = typename std::array<T, 3>::iterator |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
private |