Logo
Reference manual - version ored_version
Public Member Functions | List of all members
SimpleProgressBar Class Reference

Simple Progress Bar. More...

#include <ored/utilities/progressbar.hpp>

+ Inheritance diagram for SimpleProgressBar:

Public Member Functions

 SimpleProgressBar (const std::string &message, const QuantLib::Size messageWidth=40, const QuantLib::Size barWidth=40, const QuantLib::Size numberOfScreenUpdates=100)
 
void updateProgress (const unsigned long progress, const unsigned long total) override
 ProgressIndicator interface.
 
void reset () override
 

Detailed Description

Simple Progress Bar.

Simple Progress Bar that writes a message followed by a status bar to std::cout, no other output should be written to std::cout during the bar from this instance is displayed