Libosmium
2.15.5
Fast and flexible C++ library for working with OpenStreetMap data
|
Go to the documentation of this file. 1 #ifndef OSMIUM_OSM_ITEM_TYPE_HPP
2 #define OSMIUM_OSM_ITEM_TYPE_HPP
83 const auto i =
static_cast<unsigned int>(
type);
84 assert(i >= 1 && i <= 3);
167 return "way_node_list";
169 return "relation_member_list";
171 return "relation_member_list_with_full_members";
177 return "changeset_discussion";
184 template <
typename TChar,
typename TTraits>
198 std::runtime_error(
"unknown item type") {
205 #endif // OSMIUM_OSM_ITEM_TYPE_HPP
item_type nwr_index_to_item_type(unsigned int i) noexcept
Definition: item_type.hpp:69
@ relation_member_list_with_full_members
Definition: item_type.hpp:195
Namespace for everything in the Osmium library.
Definition: assembler.hpp:53
char item_type_to_char(const item_type type) noexcept
Definition: item_type.hpp:120
item_type char_to_item_type(const char c) noexcept
Definition: item_type.hpp:88
std::basic_ostream< TChar, TTraits > & operator<<(std::basic_ostream< TChar, TTraits > &out, const osmium::Box &box)
Definition: box.hpp:224
Definition: location.hpp:551
const char * item_type_to_name(const item_type type) noexcept
Definition: item_type.hpp:152
unknown_type()
Definition: item_type.hpp:197
type
Definition: entity_bits.hpp:63
item_type
Definition: item_type.hpp:43
unsigned int item_type_to_nwr_index(item_type type) noexcept
Definition: item_type.hpp:82