A generic text file parsing object
Inheritance:
Public Methods
-
virtual bool parseFile(const char* filename) = 0
-
Protected Methods
-
bool openFile(const char* filename)
-
-
bool eraseComments(string& line)
-
-
bool isBlankLine(string& line)
-
-
void filterToken(string& token)
-
-
bool closeFile()
-
Documentation
This object is used to parse text files. How the parsing done is up to the
child classes, but this object provides convienient ways to detect comments, newlines, etc.
virtual bool parseFile(const char* filename) = 0
-
bool openFile(const char* filename)
-
bool eraseComments(string& line)
-
bool isBlankLine(string& line)
-
void filterToken(string& token)
-
bool closeFile()
-
- Direct child classes:
- TraceParser
ConfigParser
- Author:
- John Oleszkiewicz
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.