HEJ 2.1.4
High energy resummation for hadron colliders
|
Class representing (and printing) a progress bar. More...
#include <ProgressBar.hh>
Public Member Functions | |
ProgressBar (std::ostream &out, T max) | |
Constructor. More... | |
ProgressBar & | increment (T count) |
Increment progress. More... | |
ProgressBar & | operator++ () |
Increase progress by one unit. More... | |
Class representing (and printing) a progress bar.
|
inline |
Constructor.
out | Output stream |
max | Maximum value of the progress parameter |
This will print a fixed-width progress bar, which is initially at 0%.
|
inline |
Increment progress.
count | Value to add to the current progress parameter |
After updating the progess parameter, the progress bar is updated to a percentage that corresponds to the ratio of the current and maximum progress parameters.
|
inline |
Increase progress by one unit.
After updating the progess parameter, the progress bar is updated to a percentage that corresponds to the ratio of the current and maximum progress parameters.