1#ifndef OSMIUM_OSM_ITEM_TYPE_HPP
2#define OSMIUM_OSM_ITEM_TYPE_HPP
85 const auto i =
static_cast<unsigned int>(
type);
86 assert(i >= 1 && i <= 3);
169 return "way_node_list";
171 return "relation_member_list";
173 return "relation_member_list_with_full_members";
179 return "changeset_discussion";
186 template <
typename TChar,
typename TTraits>
200 std::runtime_error{
"unknown item type"} {
#define OSMIUM_EXPORT
Definition: compatibility.hpp:54
type
Definition: entity_bits.hpp:63
Namespace for everything in the Osmium library.
Definition: assembler.hpp:53
item_type char_to_item_type(const char c) noexcept
Definition: item_type.hpp:90
unsigned int item_type_to_nwr_index(item_type type) noexcept
Definition: item_type.hpp:84
const char * item_type_to_name(const item_type type) noexcept
Definition: item_type.hpp:154
item_type
Definition: item_type.hpp:45
@ relation_member_list_with_full_members
item_type nwr_index_to_item_type(unsigned int i) noexcept
Definition: item_type.hpp:71
char item_type_to_char(const item_type type) noexcept
Definition: item_type.hpp:122
std::basic_ostream< TChar, TTraits > & operator<<(std::basic_ostream< TChar, TTraits > &out, const item_type item_type)
Definition: item_type.hpp:187
Definition: location.hpp:555
Definition: item_type.hpp:197
unknown_type()
Definition: item_type.hpp:199