A simple structure used for passing around a numeric state of progress. More...
#include <nprogresstypes.h>
Public Member Functions | |
NProgressStateNumeric (long newCompleted=0, long newOutOf=-1) | |
Initialises a new structure using the given values. | |
Public Attributes | |
long | completed |
The number of items that have already been completed. | |
long | outOf |
The expected total number of items, or -1 if this is not known. |
A simple structure used for passing around a numeric state of progress.
regina::NProgressStateNumeric::NProgressStateNumeric | ( | long | newCompleted = 0 , |
|
long | newOutOf = -1 | |||
) | [inline] |
Initialises a new structure using the given values.
newCompleted | the number of items that have already been completed. | |
newOutOf | the expected total number of items, or -1 if this is not known. |
The number of items that have already been completed.
The expected total number of items, or -1 if this is not known.