|
| 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.
|
|
◆ Bar()
Construct a new Bar object.
- Parameters
-
max | Maximum value representing 100% progress. |
cfg | Configuration for the progress bar appearance. |
◆ operator()()
double rush::progress::Bar::operator() |
( |
const double | x | ) |
|
|
inline |
Update the progress bar with a specific value.
- Parameters
-
- Returns
- Updated progress ratio.
◆ operator++() [1/2]
double rush::progress::Bar::operator++ |
( |
| ) |
|
|
inline |
Increment the progress bar by 1.
- Returns
- Updated progress ratio.
◆ operator++() [2/2]
double rush::progress::Bar::operator++ |
( |
int | | ) |
|
|
inline |
Increment the progress bar by 1 (postfix).
- Returns
- Updated progress ratio.
◆ operator+=()
double rush::progress::Bar::operator+= |
( |
const int | n | ) |
|
|
inline |
Increment the progress bar by a specified value.
- Parameters
-
- Returns
- Updated progress ratio.
◆ operator--() [1/2]
double rush::progress::Bar::operator-- |
( |
| ) |
|
|
inline |
Decrement the progress bar by 1.
- Returns
- Updated progress ratio.
◆ operator--() [2/2]
double rush::progress::Bar::operator-- |
( |
int | | ) |
|
|
inline |
Decrement the progress bar by 1 (postfix).
- Returns
- Updated progress ratio.
◆ operator-=()
double rush::progress::Bar::operator-= |
( |
const int | n | ) |
|
|
inline |
Decrement the progress bar by a specified value.
- Parameters
-
- Returns
- Updated progress ratio.
The documentation for this class was generated from the following file: