Public Member Functions | |
patchReader (const char *fileName) | |
~patchReader () | |
int | nextLine (void) |
int | nextInt (void) |
double | nextDouble (void) |
blockDim | nextDim (void) |
blockSpan | nextSpan (void) |
Private Member Functions | |
void | abort (const char *why) |
Private Attributes | |
const char * | fName |
FILE * | f |
int | lineCount |
char | line [1024] |
int | curChar |
Definition at line 20 of file patch.C.
patchReader::patchReader | ( | const char * | fileName | ) | [inline] |
void patchReader::abort | ( | const char * | why | ) | [inline, private] |
int patchReader::nextLine | ( | void | ) | [inline] |
Definition at line 45 of file patch.C.
References curChar, f, line, and lineCount.
Referenced by block::block(), and patchReader().
int patchReader::nextInt | ( | void | ) | [inline] |
Definition at line 58 of file patch.C.
References abort(), curChar, line, and offset.
Referenced by block::block(), nextDim(), and nextSpan().
double patchReader::nextDouble | ( | void | ) | [inline] |
blockDim patchReader::nextDim | ( | void | ) | [inline] |
Definition at line 75 of file patch.C.
References nextInt().
Referenced by block::block().
blockSpan patchReader::nextSpan | ( | void | ) | [inline] |
Definition at line 82 of file patch.C.
References blockSpan::end, nextInt(), and blockSpan::start.
Referenced by block::block().
const char* patchReader::fName [private] |
FILE* patchReader::f [private] |
int patchReader::lineCount [private] |
char patchReader::line[1024] [private] |
int patchReader::curChar [private] |