Libosmium
2.20.0
Fast and flexible C++ library for working with OpenStreetMap data
|
#include <diff_iterator.hpp>
Public Types | |
using | iterator_category = std::input_iterator_tag |
using | value_type = const osmium::DiffObject |
using | difference_type = std::ptrdiff_t |
using | pointer = value_type * |
using | reference = value_type & |
Public Member Functions | |
DiffIterator (TBasicIterator begin, TBasicIterator end) | |
DiffIterator & | operator++ () |
DiffIterator | operator++ (int) |
bool | operator== (const DiffIterator &rhs) const noexcept |
bool | operator!= (const DiffIterator &rhs) const noexcept |
reference | operator* () const noexcept |
pointer | operator-> () const noexcept |
Private Member Functions | |
void | set_diff () const noexcept |
Private Attributes | |
TBasicIterator | m_prev |
TBasicIterator | m_curr |
TBasicIterator | m_next |
const TBasicIterator | m_end |
osmium::DiffObject | m_diff |
An input iterator wrapping any iterator over OSMObjects. When dereferenced it will yield DiffObject objects pointing to the underlying OSMObjects.
Note that this class uses a mutable member variable internally. It can not be used safely in multiple threads!
using osmium::DiffIterator< TBasicIterator >::difference_type = std::ptrdiff_t |
using osmium::DiffIterator< TBasicIterator >::iterator_category = std::input_iterator_tag |
using osmium::DiffIterator< TBasicIterator >::pointer = value_type* |
using osmium::DiffIterator< TBasicIterator >::reference = value_type& |
using osmium::DiffIterator< TBasicIterator >::value_type = const osmium::DiffObject |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlineprivatenoexcept |
|
private |
|
mutableprivate |
|
private |
|
private |
|
private |