A simple structure used for passing around a numeric state of progress.
More...
#include <progress/nprogresstypes.h>
|
long | completed |
| The number of items that have already been completed. More...
|
|
long | outOf |
| The expected total number of items, or -1 if this is not known. More...
|
|
A simple structure used for passing around a numeric state of progress.
- Deprecated:
- This class is deprecated. Please use the more flexible and more streamlined NProgressTracker class instead.
regina::NProgressStateNumeric::NProgressStateNumeric |
( |
long |
newCompleted = 0 , |
|
|
long |
newOutOf = -1 |
|
) |
| |
|
inline |
Initialises a new structure using the given values.
- Parameters
-
newCompleted | the number of items that have already been completed. |
newOutOf | the expected total number of items, or -1 if this is not known. |
long regina::NProgressStateNumeric::completed |
The number of items that have already been completed.
long regina::NProgressStateNumeric::outOf |
The expected total number of items, or -1 if this is not known.
The documentation for this struct was generated from the following file: