Libosmium
2.15.4
Fast and flexible C++ library for working with OpenStreetMap data
|
#include <nwr_array.hpp>
Public Member Functions | |
nwr_array () | |
T & | operator() (const osmium::item_type type) noexcept |
const T & | operator() (const osmium::item_type type) 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.
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
private |