1 #ifndef OSMIUM_INDEX_MAP_DENSE_FILE_ARRAY_HPP 2 #define OSMIUM_INDEX_MAP_DENSE_FILE_ARRAY_HPP 39 #include <osmium/index/detail/mmap_vector_file.hpp> 40 #include <osmium/index/detail/vector_map.hpp> 41 #include <osmium/index/detail/create_map_with_fd.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 #endif // OSMIUM_INDEX_MAP_DENSE_FILE_ARRAY_HPP
Namespace for everything in the Osmium library.
Definition: assembler.hpp:73
VectorBasedDenseMap< osmium::detail::mmap_vector_file< TValue >, TId, TValue > DenseFileArray
Definition: dense_file_array.hpp:52
DenseFileArray< TId, TValue > * operator()(const std::vector< std::string > &config)
Definition: dense_file_array.hpp:56