A simple structure used for passing around a numeric state of progress.
More...
#include <progress/nprogresstypes.h>
List of all members.
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.
|
Detailed Description
A simple structure used for passing around a numeric state of progress.
Constructor & Destructor Documentation
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. |
Member Data Documentation
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: