1 #ifndef OSMIUM_OSM_ITEM_TYPE_HPP
2 #define OSMIUM_OSM_ITEM_TYPE_HPP
91 #pragma GCC diagnostic push
92 #pragma GCC diagnostic ignored "-Wreturn-type"
139 return "way_node_list";
141 return "relation_member_list";
143 return "relation_member_list_with_full_members";
150 #pragma GCC diagnostic pop
152 template <
typename TChar,
typename TTraits>
153 inline std::basic_ostream<TChar, TTraits>& operator<<(std::basic_ostream<TChar, TTraits>& out,
const item_type item_type) {
166 std::runtime_error(
"unknown item type") {
173 #endif // OSMIUM_OSM_ITEM_TYPE_HPP
const char * item_type_to_name(const item_type type) noexcept
Definition: item_type.hpp:122
Definition: item_type.hpp:163
type
Definition: entity_bits.hpp:60
item_type
Definition: item_type.hpp:42
Definition: reader_iterator.hpp:39
Namespace for everything in the Osmium library.
Definition: assembler.hpp:55
unknown_type()
Definition: item_type.hpp:165
item_type char_to_item_type(const char c) noexcept
Definition: item_type.hpp:59
char item_type_to_char(const item_type type) noexcept
Definition: item_type.hpp:93