Regina Calculation Engine
Public Member Functions | Public Attributes
regina::NProgressStateNumeric Struct Reference

A simple structure used for passing around a numeric state of progress. More...

#include <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:
newCompletedthe number of items that have already been completed.
newOutOfthe expected total number of items, or -1 if this is not known.

Member Data Documentation

The number of items that have already been completed.

The expected total number of items, or -1 if this is not known.


The documentation for this struct was generated from the following file:

Copyright © 1999-2009, Ben Burton
This software is released under the GNU General Public License.
For further information, or to submit a bug or other problem, please contact Ben Burton (bab@debian.org).