Libosmium
2.15.6
Fast and flexible C++ library for working with OpenStreetMap data
|
Go to the documentation of this file. 1 #ifndef OSMIUM_OSM_DIFF_OBJECT_HPP
2 #define OSMIUM_OSM_DIFF_OBJECT_HPP
242 template <
typename T>
251 const T&
prev() const noexcept {
255 const T&
curr() const noexcept {
259 const T&
next() const noexcept {
271 #endif // OSMIUM_OSM_DIFF_OBJECT_HPP
const T & curr() const noexcept
Definition: diff_object.hpp:255
osmium::Timestamp end_time() const noexcept
Definition: diff_object.hpp:209
const T & next() const noexcept
Definition: diff_object.hpp:259
Definition: object.hpp:64
uint32_t changeset_id_type
Type for OSM changeset IDs.
Definition: types.hpp:48
int64_t object_id_type
Type for OSM object (node, way, or relation) IDs.
Definition: types.hpp:45
bool is_between(const osmium::Timestamp &from, const osmium::Timestamp &to) const noexcept
Definition: diff_object.hpp:223
osmium::item_type type() const noexcept
Definition: diff_object.hpp:155
DiffObject() noexcept=default
const T & prev() const noexcept
Definition: diff_object.hpp:251
DiffObjectDerived(const T &prev, const T &curr, const T &next) noexcept
Definition: diff_object.hpp:247
bool empty() const noexcept
Definition: diff_object.hpp:96
osmium::object_id_type id() const noexcept
Definition: diff_object.hpp:165
const osmium::OSMObject * m_prev
Definition: diff_object.hpp:68
bool is_visible_at(const osmium::Timestamp ×tamp) const noexcept
Definition: diff_object.hpp:235
changeset_id_type changeset() const noexcept
Get changeset id of this object.
Definition: object.hpp:222
const osmium::OSMObject * m_curr
Definition: diff_object.hpp:69
bool last() const noexcept
Definition: diff_object.hpp:145
Namespace for everything in the Osmium library.
Definition: assembler.hpp:53
Definition: diff_object.hpp:243
bool visible() const noexcept
Is this object marked visible (ie not deleted)?
Definition: object.hpp:156
Definition: timestamp.hpp:147
const osmium::OSMObject & curr() const noexcept
Definition: diff_object.hpp:115
Definition: diff_object.hpp:66
bool first() const noexcept
Definition: diff_object.hpp:135
osmium::Timestamp timestamp() const noexcept
Get timestamp when this object last changed.
Definition: object.hpp:287
osmium::changeset_id_type changeset() const noexcept
Definition: diff_object.hpp:185
item_type type() const noexcept
Definition: item.hpp:171
uint32_t object_version_type
Type for OSM object version number.
Definition: types.hpp:47
const osmium::OSMObject & next() const noexcept
Definition: diff_object.hpp:125
osmium::Timestamp start_time() const noexcept
Definition: diff_object.hpp:195
const osmium::OSMObject & prev() const noexcept
Definition: diff_object.hpp:105
object_id_type id() const noexcept
Get ID of this object.
Definition: object.hpp:122
const osmium::OSMObject * m_next
Definition: diff_object.hpp:70
item_type
Definition: item_type.hpp:43
object_version_type version() const noexcept
Get version of this object.
Definition: object.hpp:198
osmium::object_version_type version() const noexcept
Definition: diff_object.hpp:175
constexpr Timestamp end_of_time() noexcept
Definition: timestamp.hpp:309