An object that parses trace files and creates a process list from them.
Inheritance:
Public Methods
-
TraceParser()
- Default constructor
-
~TraceParser()
- Destructor
-
bool parseFile(const char* filename)
- Parse a trace file to get process information
-
vector<Process*> * getProcesses()
-
Inherited from Parser:
Protected Methods
-
bool openFile(const char* filename)
-
bool eraseComments(string& line)
-
bool isBlankLine(string& line)
-
void filterToken(string& token)
-
bool closeFile()
Documentation
An object that parses trace files and creates a process list from them.
TraceParser()
-
~TraceParser()
-
bool parseFile(const char* filename)
-
This function will dynamically create memory for
the list of processes it reads. Since the number of
processes created can be VERY large - a pointer to a
vector of pointers to the processes created is returned,
rather than a copy of a vector with copies of every process
vector<Process*> * getProcesses()
-
- This class has no child classes.
- Author:
- John Oleszkiewicz
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.