Libosmium
2.15.4
Fast and flexible C++ library for working with OpenStreetMap data
|
Go to the documentation of this file. 1 #ifndef OSMIUM_HANDLER_DISK_STORE_HPP
2 #define OSMIUM_HANDLER_DISK_STORE_HPP
38 #include <osmium/io/detail/read_write.hpp>
107 #endif // OSMIUM_HANDLER_DISK_STORE_HPP
virtual void set(const TId id, const TValue value)=0
Set the field with id to value.
void apply(TIterator it, TIterator end, THandlers &&... handlers)
Definition: visitor.hpp:323
unsigned char * data() const noexcept
Definition: buffer.hpp:339
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 node(const osmium::Node &node)
Definition: disk_store.hpp:81
Definition: handler.hpp:71
t_iterator< T > end()
Definition: buffer.hpp:746
std::size_t committed() const noexcept
Definition: buffer.hpp:356
Definition: buffer.hpp:97
void way(const osmium::Way &way)
Definition: disk_store.hpp:86
Namespace for everything in the Osmium library.
Definition: assembler.hpp:53
Definition: disk_store.hpp:61
Definition: relation.hpp:168
std::size_t m_offset
Definition: disk_store.hpp:65
offset_index_type & m_way_index
Definition: disk_store.hpp:69
void operator()(const osmium::memory::Buffer &buffer)
Definition: disk_store.hpp:96
void relation(const osmium::Relation &relation)
Definition: disk_store.hpp:91
offset_index_type & m_node_index
Definition: disk_store.hpp:68
t_iterator< T > begin()
Definition: buffer.hpp:688
int m_data_fd
Definition: disk_store.hpp:66
offset_index_type & m_relation_index
Definition: disk_store.hpp:70