![]() |
RUSH
Reusable Utilities in Single Headers is a collection of header-only utilities for C++
|
Public Member Functions | |
| Bar (const double max, Configuration cfg=Configuration()) | |
| Construct a new Bar object. | |
| double | operator() (const double x) |
| Update the progress bar with a specific value. | |
| double | operator++ () |
| Increment the progress bar by 1. | |
| double | operator++ (int) |
| Increment the progress bar by 1 (postfix). | |
| double | operator+= (const int n) |
| Increment the progress bar by a specified value. | |
| double | operator-- () |
| Decrement the progress bar by 1. | |
| double | operator-- (int) |
| Decrement the progress bar by 1 (postfix). | |
| double | operator-= (const int n) |
| Decrement the progress bar by a specified value. | |
|
inlineexplicit |
Construct a new Bar object.
| max | Maximum value representing 100% progress. |
| cfg | Configuration for the progress bar appearance. |
|
inline |
Update the progress bar with a specific value.
| x | New current value. |
|
inline |
Increment the progress bar by 1.
|
inline |
Increment the progress bar by 1 (postfix).
|
inline |
Increment the progress bar by a specified value.
| n | Value to increment by. |
|
inline |
Decrement the progress bar by 1.
|
inline |
Decrement the progress bar by 1 (postfix).
|
inline |
Decrement the progress bar by a specified value.
| n | Value to decrement by. |