1#ifndef OSMIUM_HANDLER_CHECK_ORDER_HPP
2#define OSMIUM_HANDLER_CHECK_ORDER_HPP
58 std::runtime_error(what),
63 std::runtime_error(what),
121 throw out_of_order_error{
"Node ID twice in input. Maybe you are using a history or change file?",
node.id()};
150 throw out_of_order_error{
"Way ID twice in input. Maybe you are using a history or change file?",
way.id()};
Definition relation.hpp:161
bool m_has_node
Definition check_order.hpp:96
void node(const osmium::Node &node)
Definition check_order.hpp:106
osmium::object_id_type m_max_relation_id
Definition check_order.hpp:94
void relation(const osmium::Relation &relation)
Definition check_order.hpp:167
osmium::object_id_type m_max_node_id
Definition check_order.hpp:92
bool m_with_history
Definition check_order.hpp:99
bool m_has_relation
Definition check_order.hpp:98
bool m_has_way
Definition check_order.hpp:97
osmium::object_id_type max_node_id() const noexcept
Definition check_order.hpp:192
osmium::object_version_type m_last_version
Definition check_order.hpp:95
osmium::object_id_type max_way_id() const noexcept
Definition check_order.hpp:196
osmium::object_id_type max_relation_id() const noexcept
Definition check_order.hpp:200
CheckOrder(bool with_history=false)
Definition check_order.hpp:103
void way(const osmium::Way &way)
Definition check_order.hpp:138
osmium::object_id_type m_max_way_id
Definition check_order.hpp:93
Definition handler.hpp:71
#define OSMIUM_EXPORT
Definition compatibility.hpp:45
Namespace for everything in the Osmium library.
Definition assembler.hpp:53
int64_t object_id_type
Type for OSM object (node, way, or relation) IDs.
Definition types.hpp:45
uint32_t object_version_type
Type for OSM object version number.
Definition types.hpp:47
Definition location.hpp:654
Definition object_comparisons.hpp:87
Definition check_order.hpp:53
osmium::object_id_type object_id
Definition check_order.hpp:55
out_of_order_error(const std::string &what, osmium::object_id_type id)
Definition check_order.hpp:57
out_of_order_error(const char *what, osmium::object_id_type id)
Definition check_order.hpp:62