class Parser

A generic text file parsing object

Inheritance:


Public Methods

[more]virtual bool parseFile(const char* filename) = 0

Protected Methods

[more]bool openFile(const char* filename)
[more]bool eraseComments(string& line)
[more]bool isBlankLine(string& line)
[more]void filterToken(string& token)
[more]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.
ovirtual bool parseFile(const char* filename) = 0

obool openFile(const char* filename)

obool eraseComments(string& line)

obool isBlankLine(string& line)

ovoid filterToken(string& token)

obool 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++.