ProgressReporter Class Reference

#include <stats.h>

List of all members.

Public Member Functions

 ProgressReporter (int totalWork, const string &title, int barLength=58)
 ~ProgressReporter ()
void Update (int num=1) const
void Done () const

Public Attributes

const int totalPlusses
float frequency
float count
int plussesPrinted
Timertimer
FILE * outFile
char * buf
char * curSpace


Detailed Description

Definition at line 36 of file stats.h.


Constructor & Destructor Documentation

ProgressReporter::ProgressReporter ( int  totalWork,
const string &  title,
int  barLength = 58 
)

ProgressReporter::~ProgressReporter (  ) 

Definition at line 273 of file util.cpp.

References buf, and timer.


Member Function Documentation

void ProgressReporter::Done (  )  const

void ProgressReporter::Update ( int  num = 1  )  const


Member Data Documentation

Definition at line 50 of file stats.h.

Referenced by Done(), ProgressReporter(), Update(), and ~ProgressReporter().

float ProgressReporter::count [mutable]

Definition at line 46 of file stats.h.

Referenced by ProgressReporter(), and Update().

char* ProgressReporter::curSpace [mutable]

Definition at line 51 of file stats.h.

Referenced by Done(), ProgressReporter(), and Update().

Definition at line 45 of file stats.h.

Referenced by ProgressReporter(), and Update().

Definition at line 49 of file stats.h.

Referenced by Done(), ProgressReporter(), and Update().

Definition at line 47 of file stats.h.

Referenced by Done(), ProgressReporter(), and Update().

Definition at line 48 of file stats.h.

Referenced by Done(), ProgressReporter(), Update(), and ~ProgressReporter().

Definition at line 44 of file stats.h.

Referenced by Done(), ProgressReporter(), and Update().


The documentation for this class was generated from the following files:

Generated on Sat Aug 15 19:14:42 2009 for lux by  doxygen 1.5.9