1#ifndef OSMIUM_INDEX_MULTIMAP_HPP
2#define OSMIUM_INDEX_MULTIMAP_HPP
50 template <
typename TId,
typename TValue>
77 virtual
void set(const TId
id, const TValue value) = 0;
89 virtual
size_t size() const = 0;
115 throw std::runtime_error{
"can't dump as list"};
Definition: multimap.hpp:51
TId key_type
The "key" type, usually osmium::unsigned_object_id_type.
Definition: multimap.hpp:64
virtual size_t used_memory() const =0
virtual void dump_as_list(const int)
Definition: multimap.hpp:114
TValue value_type
The "value" type, usually a Location or size_t.
Definition: multimap.hpp:67
Multimap(Multimap &&) noexcept=default
virtual void set(const TId id, const TValue value)=0
Set the field with id to value.
virtual void sort()
Definition: multimap.hpp:110
virtual size_t size() const =0
typename std::pair< TId, TValue > element_type
Definition: multimap.hpp:54
element_type * iterator
Definition: multimap.hpp:79
Namespace for everything in the Osmium library.
Definition: assembler.hpp:53