1#ifndef OSMIUM_HANDLER_DISK_STORE_HPP
2#define OSMIUM_HANDLER_DISK_STORE_HPP
38#include <osmium/io/detail/read_write.hpp>
97 osmium::io::detail::reliable_write(
m_data_fd, buffer.data(), buffer.committed());
Definition: relation.hpp:161
Definition: disk_store.hpp:61
void operator()(const osmium::memory::Buffer &buffer)
Definition: disk_store.hpp:96
offset_index_type & m_way_index
Definition: disk_store.hpp:69
int m_data_fd
Definition: disk_store.hpp:66
DiskStore(int data_fd, offset_index_type &node_index, offset_index_type &way_index, offset_index_type &relation_index)
Definition: disk_store.hpp:74
void way(const osmium::Way &way)
Definition: disk_store.hpp:86
offset_index_type & m_node_index
Definition: disk_store.hpp:68
std::size_t m_offset
Definition: disk_store.hpp:65
void relation(const osmium::Relation &relation)
Definition: disk_store.hpp:91
void node(const osmium::Node &node)
Definition: disk_store.hpp:81
offset_index_type & m_relation_index
Definition: disk_store.hpp:70
Definition: handler.hpp:71
virtual void set(const TId id, const TValue value)=0
Set the field with id to value.
Namespace for everything in the Osmium library.
Definition: assembler.hpp:53
void apply(TIterator it, TIterator end, THandlers &&... handlers)
Definition: visitor.hpp:326