#include <reader_with_progress_bar.hpp>
Wraps an osmium::io::Reader and an osmium::ProgressBar into one handy package.
◆ ReaderWithProgressBar()
template<typename... TArgs>
osmium::io::ReaderWithProgressBar::ReaderWithProgressBar |
( |
bool |
enable, |
|
|
TArgs &&... |
args |
|
) |
| |
|
inlineexplicit |
Constructor.
- Parameters
-
enable | Enable flag for the progress bar. |
All other parameters are forwarded to the Reader.
◆ progress_bar()
ProgressBar & osmium::io::ReaderWithProgressBar::progress_bar |
( |
| ) |
|
|
inlinenoexcept |
◆ read()
osmium::memory::Buffer osmium::io::ReaderWithProgressBar::read |
( |
| ) |
|
|
inline |
Read a buffer from the Reader updating the progress bar in the process.
◆ m_progress_bar
ProgressBar osmium::io::ReaderWithProgressBar::m_progress_bar |
|
private |
The documentation for this class was generated from the following file: