#include <relations_map.hpp>
|
static void | append32to64 (detail::rel_index_map_type< uint32_t > &map32, detail::rel_index_map_type< uint64_t > &map64) |
|
|
detail::rel_index_map_type< uint32_t > | m_map32 |
|
detail::rel_index_map_type< uint64_t > | m_map64 |
|
bool | m_valid = true |
|
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.
◆ 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.
◆ append32to64()
static void osmium::index::RelationsMapStash::append32to64 |
( |
detail::rel_index_map_type< uint32_t > & |
map32, |
|
|
detail::rel_index_map_type< uint64_t > & |
map64 |
|
) |
| |
|
inlinestaticprivate |
◆ 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.
◆ sizes()
std::pair< std::size_t, std::size_t > osmium::index::RelationsMapStash::sizes |
( |
| ) |
const |
|
inlinenoexcept |
How many "small" and "large" entries are in this stash? For tests and debugging only!
Complexity: Constant.
◆ m_map32
detail::rel_index_map_type<uint32_t> osmium::index::RelationsMapStash::m_map32 |
|
private |
◆ m_map64
detail::rel_index_map_type<uint64_t> osmium::index::RelationsMapStash::m_map64 |
|
private |
◆ m_valid
bool osmium::index::RelationsMapStash::m_valid = true |
|
private |
The documentation for this class was generated from the following file: