#include <nprogress.h>

Public Member Functions | |
| NProgressFinished () | |
| Creates a new finished progress report. | |
| virtual bool | isPercent () const |
| Determines if the state of progress can be expressed as a percentage. | |
Protected Member Functions | |
| virtual std::string | internalGetDescription () const |
| Returns a string description of the current state of progress. | |
| virtual double | internalGetPercent () const |
| Returns the current state of progress as a percentage. | |
There is no need to call setFinished(); this will be done automatically by the constructor.
| regina::NProgressFinished::NProgressFinished | ( | ) | [inline] |
Creates a new finished progress report.
This constructor will automatically call setFinished().
| bool regina::NProgressFinished::isPercent | ( | ) | const [inline, virtual] |
Determines if the state of progress can be expressed as a percentage.
The default implementation returns false.
true if and only if progress can be expressed as a percentage. Reimplemented from regina::NProgress.
| std::string regina::NProgressFinished::internalGetDescription | ( | ) | const [inline, protected, virtual] |
Returns a string description of the current state of progress.
Implements regina::NProgress.
| double regina::NProgressFinished::internalGetPercent | ( | ) | const [inline, protected, virtual] |
Returns the current state of progress as a percentage.
The default implementation returns 0.
Reimplemented from regina::NProgress.