Libosmium
2.5.3
Fast and flexible C++ library for working with OpenStreetMap data
|
#include <input_iterator.hpp>
Public Types | |
typedef std::input_iterator_tag | iterator_category |
typedef TItem | value_type |
typedef ptrdiff_t | difference_type |
typedef TItem * | pointer |
typedef TItem & | reference |
Public Member Functions | |
InputIterator (TSource &source) | |
InputIterator () noexcept | |
InputIterator & | operator++ () |
InputIterator | operator++ (int) |
bool | operator== (const InputIterator &rhs) const noexcept |
bool | operator!= (const InputIterator &rhs) const noexcept |
reference | operator* () const |
pointer | operator-> () const |
Private Types | |
typedef osmium::memory::Buffer::t_iterator< TItem > | item_iterator |
Private Member Functions | |
void | update_buffer () |
Private Attributes | |
TSource * | m_source |
std::shared_ptr< osmium::memory::Buffer > | m_buffer |
item_iterator | m_iter {} |
This iterator class allows you to iterate over all items from a source. It hides all the buffer handling and makes the contents of a source accessible as a normal STL input iterator.
typedef ptrdiff_t osmium::io::InputIterator< TSource, TItem >::difference_type |
|
private |
typedef std::input_iterator_tag osmium::io::InputIterator< TSource, TItem >::iterator_category |
typedef TItem* osmium::io::InputIterator< TSource, TItem >::pointer |
typedef TItem& osmium::io::InputIterator< TSource, TItem >::reference |
typedef TItem osmium::io::InputIterator< TSource, TItem >::value_type |
|
inlineexplicit |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinenoexcept |
|
inlineprivate |
|
private |
|
private |
|
private |