Definition at line 34 of file ProgressPrinter.h. References mDoShow, mLinewidth, mMinimumBarLength, mName, mProgressBarLength, mRange, mSpinner, and WriteLine(). 00035 { 00036 if (mDoShow) 00037 { 00038 mSpinner = 0; 00039 mName = name; 00040 mRange = range; 00041 if(mName.size() > mLinewidth - 10 - mMinimumBarLength) 00042 mName = mName.substr(0, mLinewidth - 10 - mMinimumBarLength - 3) + "..."; 00043 mProgressBarLength = mLinewidth - 10 - mName.size(); 00044 WriteLine(0); 00045 } 00046 }
Here is the call graph for this function:
|