![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cStreamProgress.h>
Public Member Functions | |
| cStreamProgressT (TYPE nAmount=0, TYPE nTotal=0) | |
| bool | isComplete () const |
| float | get_PercentFloat () const |
| int | get_PercentInt () const |
| bool | isValidPercent () const |
| void | InitZero () |
Public Attributes | |
| TYPE | m_nAmount |
| How far the stream has progressed toward m_nTotal. More... | |
| TYPE | m_nTotal |
| Total size of the stream. 0 = i have no idea how big the total is. More... | |
How much of some total has been processed?
|
inline |
|
inline |
Get percent of total.
|
inline |
|
inline |
|
inline |
|
inline |
| TYPE Gray::cStreamProgressT< TYPE >::m_nAmount |
How far the stream has progressed toward m_nTotal.
| TYPE Gray::cStreamProgressT< TYPE >::m_nTotal |
Total size of the stream. 0 = i have no idea how big the total is.