1#ifndef OSMIUM_OSM_DIFF_OBJECT_HPP
2#define OSMIUM_OSM_DIFF_OBJECT_HPP
187 return m_curr->changeset();
197 return m_curr->timestamp();
242 template <
typename T>
251 const T&
prev() const noexcept {
255 const T&
curr() const noexcept {
259 const T&
next() const noexcept {
Definition diff_object.hpp:243
const osmium::Node & prev() const noexcept
Definition diff_object.hpp:251
DiffObjectDerived(const T &prev, const T &curr, const T &next) noexcept
Definition diff_object.hpp:247
const osmium::Node & next() const noexcept
Definition diff_object.hpp:259
const osmium::Node & curr() const noexcept
Definition diff_object.hpp:255
osmium::Timestamp end_time() const noexcept
Definition diff_object.hpp:209
bool is_visible_at(const osmium::Timestamp ×tamp) const noexcept
Definition diff_object.hpp:235
osmium::item_type type() const noexcept
Definition diff_object.hpp:155
bool empty() const noexcept
Definition diff_object.hpp:96
DiffObject() noexcept=default
osmium::Timestamp start_time() const noexcept
Definition diff_object.hpp:195
osmium::changeset_id_type changeset() const noexcept
Definition diff_object.hpp:185
const osmium::OSMObject & next() const noexcept
Definition diff_object.hpp:125
const osmium::OSMObject * m_curr
Definition diff_object.hpp:69
const osmium::OSMObject * m_prev
Definition diff_object.hpp:68
const osmium::OSMObject & curr() const noexcept
Definition diff_object.hpp:115
osmium::object_id_type id() const noexcept
Definition diff_object.hpp:165
const osmium::OSMObject * m_next
Definition diff_object.hpp:70
bool first() const noexcept
Definition diff_object.hpp:135
const osmium::OSMObject & prev() const noexcept
Definition diff_object.hpp:105
bool is_between(const osmium::Timestamp &from, const osmium::Timestamp &to) const noexcept
Definition diff_object.hpp:223
bool last() const noexcept
Definition diff_object.hpp:145
osmium::object_version_type version() const noexcept
Definition diff_object.hpp:175
Definition relation.hpp:161
Definition timestamp.hpp:175
Namespace for everything in the Osmium library.
Definition assembler.hpp:53
constexpr Timestamp end_of_time() noexcept
Definition timestamp.hpp:328
DiffObjectDerived< osmium::Node > DiffNode
Definition diff_object.hpp:265
uint32_t changeset_id_type
Type for OSM changeset IDs.
Definition types.hpp:48
DiffObjectDerived< osmium::Way > DiffWay
Definition diff_object.hpp:266
item_type
Definition item_type.hpp:45
int64_t object_id_type
Type for OSM object (node, way, or relation) IDs.
Definition types.hpp:45
uint32_t object_version_type
Type for OSM object version number.
Definition types.hpp:47
DiffObjectDerived< osmium::Relation > DiffRelation
Definition diff_object.hpp:267