1 #ifndef OSMIUM_INDEX_MAP_SPARSE_FILE_ARRAY_HPP 2 #define OSMIUM_INDEX_MAP_SPARSE_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_SPARSE_FILE_ARRAY 51 template <
typename TId,
typename TValue>
52 using SparseFileArray = VectorBasedSparseMap<TId, TValue, osmium::detail::mmap_vector_file>;
54 template <
typename TId,
typename TValue>
57 return osmium::index::detail::create_map_with_fd<SparseFileArray<TId, TValue>>(config);
67 #endif // OSMIUM_INDEX_MAP_SPARSE_FILE_ARRAY_HPP VectorBasedSparseMap< TId, TValue, osmium::detail::mmap_vector_file > SparseFileArray
Definition: sparse_file_array.hpp:52
SparseFileArray< TId, TValue > * operator()(const std::vector< std::string > &config)
Definition: sparse_file_array.hpp:56
Namespace for everything in the Osmium library.
Definition: assembler.hpp:73