3#include "../core/string.hpp"
4#include "../core/timeout.hpp"
24 progress(
unsigned int update_freq_micros = 100000) noexcept;
34 void set(std::ostream &stream,
long item,
long max, const
zstring &message = "",
bool force = false) noexcept;
44 void done(std::ostream &stream) noexcept;
A template class for character strings.
Definition string.hpp:62
A class for easily managing timing.
Definition timeout.hpp:13
A class for outputting a progress bar to the terminal.
Definition progress.hpp:15
void done(std::ostream &stream) noexcept
Mark the progress bar as finished.
void set(std::ostream &stream, long item, long max, const zstring &message="", bool force=false) noexcept
Update the progress bar.
progress(unsigned int update_freq_micros=100000) noexcept
Constructor.