mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-21 06:25:30 -04:00
20 lines
336 B
C++
20 lines
336 B
C++
#ifndef OPENMC_PROGRESSBAR_H
|
|
#define OPENMC_PROGRESSBAR_H
|
|
|
|
#include <string>
|
|
|
|
class ProgressBar {
|
|
|
|
public:
|
|
// Constructor
|
|
ProgressBar();
|
|
|
|
void set_value(double val);
|
|
|
|
private:
|
|
std::string bar;
|
|
char bar_old[72] =
|
|
"???% | |";
|
|
};
|
|
|
|
#endif // OPENMC_PROGRESSBAR_H
|