UtilsLite
Utilities for C++ programming
Loading...
Searching...
No Matches
Utils_progress_bar.cc File Reference
#include "Utils.hh"
#include "Utils_fmt.hh"

Namespaces

namespace  Utils
 

Functions

string Utils::progress_bar (double const progress, int const width)
 Generates a text-based progress bar as a string.
 
void Utils::progress_bar (ostream_type &s, double const progress, int const width, string_view const msg)
 Outputs a text-based progress bar to the specified output stream.
 
void Utils::progress_bar2 (ostream_type &s, double const progress, int const width, string_view const msg)
 Outputs an enhanced text-based progress bar to the specified output stream.