27 #ifndef SRC_ENV_PROGRESS_BAR_HPP_ 28 #define SRC_ENV_PROGRESS_BAR_HPP_ 43 friend std::ostream & operator<<(std::ostream &,
const ProgressBar &);
63 std::size_t num_solved_tasks_;
65 const std::size_t num_tasks_;
67 const std::chrono::high_resolution_clock::time_point start_time_;
78 operator<<(std::ostream & os,
const ProgressBar & progress_bar);
ProgressBar(std::size_t num_tasks)
Constructs a progress bar for given number of tasks.
ged::ProgressBar class definition.
Global namespace for GEDLIB.
void increment()
Increments the number of solved tasks.
void reset()
Sets the number of solved tasks to 0.