|
Libosmium
Fast and flexible C++ library for working with OpenStreetMap data
|

Public Types | |
| enum | { removed_value = std::numeric_limits<std::size_t>::max() } |
Public Member Functions | |
| element (std::size_t rel_pos, osmium::object_id_type memb_id, std::size_t memb_num) noexcept | |
| element (osmium::object_id_type m_id) noexcept | |
| bool | is_removed () const noexcept |
| void | remove () noexcept |
| bool | operator< (const element &other) const noexcept |
Public Attributes | |
| osmium::object_id_type | member_id |
| std::size_t | member_num |
| std::size_t | relation_pos |
| osmium::ItemStash::handle_type | object_handle |
| anonymous enum |
|
inlineexplicitnoexcept |
|
inlineexplicitnoexcept |
This constructor is used to create dummy elements that can be compared to the elements in a vector using the equal_range algorithm.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
| osmium::object_id_type osmium::relations::MembersDatabaseCommon::element::member_id |
Object ID of this relation member. Can be a node, way, or relation ID. It depends on the database in which this object is stored which kind of object is referenced here.
| std::size_t osmium::relations::MembersDatabaseCommon::element::member_num |
Position of this member in the parent relation.
| osmium::ItemStash::handle_type osmium::relations::MembersDatabaseCommon::element::object_handle |
Handle to the stash where the object is stored.
The default value is the invalid one signifying that the object hasn't been found yet.
| std::size_t osmium::relations::MembersDatabaseCommon::element::relation_pos |
Position of the parent relation in the relations database.