1#ifndef OSMIUM_INDEX_MAP_DUMMY_HPP
2#define OSMIUM_INDEX_MAP_DUMMY_HPP
52 template <
typename TId,
typename TValue>
65 ~
Dummy() noexcept override = default;
67 void set(const TId , const TValue ) final {
71 TValue
get(
const TId
id)
const final {
76 return osmium::index::empty_value<TValue>();
79 size_t size() const final {
void set(const TId, const TValue) final
Set the field with id to value.
Definition: dummy.hpp:67
TValue get(const TId id) const final
Definition: dummy.hpp:71
TValue get_noexcept(const TId) const noexcept final
Definition: dummy.hpp:75
Dummy(Dummy &&) noexcept=default
size_t size() const final
Definition: dummy.hpp:79
Dummy & operator=(const Dummy &)=default
size_t used_memory() const final
Definition: dummy.hpp:83
Dummy(const Dummy &)=default
void clear() final
Definition: dummy.hpp:87
Namespace for everything in the Osmium library.
Definition: assembler.hpp:53