Libosmium
2.2.0
Fast and flexible C++ library for working with OpenStreetMap data
|
#include <disk_store.hpp>
Public Member Functions | |
DiskStore (int data_fd, offset_index_type &node_index, offset_index_type &way_index, offset_index_type &relation_index) | |
DiskStore (const DiskStore &)=delete | |
DiskStore & | operator= (const DiskStore &)=delete |
~DiskStore () noexcept=default | |
void | node (const osmium::Node &node) |
void | way (const osmium::Way &way) |
void | relation (const osmium::Relation &relation) |
void | operator() (const osmium::memory::Buffer &buffer) |
![]() | |
void | osm_object (const osmium::OSMObject &) const |
void | node (const osmium::Node &) const |
void | way (const osmium::Way &) const |
void | relation (const osmium::Relation &) const |
void | area (const osmium::Area &) const |
void | changeset (const osmium::Changeset &) const |
void | tag_list (const osmium::TagList &) const |
void | way_node_list (const osmium::WayNodeList &) const |
void | relation_member_list (const osmium::RelationMemberList &) const |
void | outer_ring (const osmium::OuterRing &) const |
void | inner_ring (const osmium::InnerRing &) const |
void | flush () const |
Private Types | |
typedef osmium::index::map::Map< unsigned_object_id_type, size_t > | offset_index_type |
Private Attributes | |
size_t | m_offset = 0 |
int | m_data_fd |
offset_index_type & | m_node_index |
offset_index_type & | m_way_index |
offset_index_type & | m_relation_index |
Note: This handler will only work if either all object IDs are positive or all object IDs are negative.
|
private |
|
inlineexplicit |
|
delete |
|
defaultnoexcept |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |