1#ifndef OSMIUM_INDEX_MAP_DENSE_FILE_ARRAY_HPP
2#define OSMIUM_INDEX_MAP_DENSE_FILE_ARRAY_HPP
36#include <osmium/index/detail/create_map_with_fd.hpp>
37#include <osmium/index/detail/mmap_vector_file.hpp>
38#include <osmium/index/detail/vector_map.hpp>
43#define OSMIUM_HAS_INDEX_MAP_DENSE_FILE_ARRAY
51 template <
typename TId,
typename TValue>
52 using DenseFileArray = VectorBasedDenseMap<osmium::detail::mmap_vector_file<TValue>, TId, TValue>;
54 template <
typename TId,
typename TValue>
57 return osmium::index::detail::create_map_with_fd<DenseFileArray<TId, TValue>>(config);
67#ifdef OSMIUM_WANT_NODE_LOCATION_MAPS
Definition: location.hpp:271
#define REGISTER_MAP(id, value, klass, name)
Definition: map.hpp:287
VectorBasedDenseMap< osmium::detail::mmap_vector_file< TValue >, TId, TValue > DenseFileArray
Definition: dense_file_array.hpp:52
Namespace for everything in the Osmium library.
Definition: assembler.hpp:53
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
DenseFileArray< TId, TValue > * operator()(const std::vector< std::string > &config)
Definition: dense_file_array.hpp:56