Libosmium  2.20.0
Fast and flexible C++ library for working with OpenStreetMap data
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
osmium::index::RelationsMapIndexes Class Reference

#include <relations_map.hpp>

Collaboration diagram for osmium::index::RelationsMapIndexes:
Collaboration graph
[legend]

Public Member Functions

const RelationsMapIndexmember_to_parent () const noexcept
 
const RelationsMapIndexparent_to_member () const noexcept
 
bool empty () const noexcept
 
std::size_t size () const noexcept
 

Private Member Functions

 RelationsMapIndexes (RelationsMapIndex::map_type &&map1, RelationsMapIndex::map_type &&map2)
 

Private Attributes

RelationsMapIndex m_member_to_parent
 
RelationsMapIndex m_parent_to_member
 

Friends

class RelationsMapStash
 

Constructor & Destructor Documentation

◆ RelationsMapIndexes()

osmium::index::RelationsMapIndexes::RelationsMapIndexes ( RelationsMapIndex::map_type &&  map1,
RelationsMapIndex::map_type &&  map2 
)
inlineprivate

Member Function Documentation

◆ empty()

bool osmium::index::RelationsMapIndexes::empty ( ) const
inlinenoexcept

Is this index empty?

Complexity: Constant.

◆ member_to_parent()

const RelationsMapIndex & osmium::index::RelationsMapIndexes::member_to_parent ( ) const
inlinenoexcept

◆ parent_to_member()

const RelationsMapIndex & osmium::index::RelationsMapIndexes::parent_to_member ( ) const
inlinenoexcept

◆ size()

std::size_t osmium::index::RelationsMapIndexes::size ( ) const
inlinenoexcept

How many entries are in this index?

Complexity: Constant.

Friends And Related Function Documentation

◆ RelationsMapStash

friend class RelationsMapStash
friend

Member Data Documentation

◆ m_member_to_parent

RelationsMapIndex osmium::index::RelationsMapIndexes::m_member_to_parent
private

◆ m_parent_to_member

RelationsMapIndex osmium::index::RelationsMapIndexes::m_parent_to_member
private

The documentation for this class was generated from the following file: