#include <relations_map.hpp>
The RelationsMapStash is used to build up the data needed to create an index of member relation ID to parent relation ID or the other way around. See the RelationsMapIndex class for more.
◆ map_type
Initial value:
uint64_t unsigned_object_id_type
Type for OSM object (node, way, or relation) IDs where we only allow positive IDs.
Definition types.hpp:46
◆ RelationsMapStash() [1/3]
osmium::index::RelationsMapStash::RelationsMapStash |
( |
| ) |
|
|
default |
◆ RelationsMapStash() [2/3]
◆ RelationsMapStash() [3/3]
◆ ~RelationsMapStash()
osmium::index::RelationsMapStash::~RelationsMapStash |
( |
| ) |
|
|
defaultnoexcept |
◆ add()
Add mapping from member to parent relation in the stash.
◆ add_members()
void osmium::index::RelationsMapStash::add_members |
( |
const osmium::Relation & | relation | ) |
|
|
inline |
Add mapping from all members to given parent relation in the stash.
◆ build_index()
Build an index for member to parent lookups from the contents of this stash and return it.
After you get the index you can not use the stash any more!
- Deprecated
- Use build_member_to_parent_index() instead.
◆ build_indexes()
Build indexes for member-to-parent and parent-to-member lookups from the contents of this stash and return them.
After you get the index you can not use the stash any more!
◆ build_member_to_parent_index()
Build an index for member to parent lookups from the contents of this stash and return it.
After you get the index you can not use the stash any more!
◆ build_parent_to_member_index()
Build an index for parent to member lookups from the contents of this stash and return it.
After you get the index you can not use the stash any more!
◆ empty()
bool osmium::index::RelationsMapStash::empty |
( |
| ) |
const |
|
inlinenoexcept |
Is this stash empty?
Complexity: Constant.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ size()
std::size_t osmium::index::RelationsMapStash::size |
( |
| ) |
const |
|
inlinenoexcept |
How many entries are in this stash?
Complexity: Constant.
◆ m_map
map_type osmium::index::RelationsMapStash::m_map |
|
private |
◆ m_valid
bool osmium::index::RelationsMapStash::m_valid = true |
|
private |
The documentation for this class was generated from the following file: