class TraceParser

An object that parses trace files and creates a process list from them.

Inheritance:


Public Methods

[more] TraceParser()
Default constructor
[more] ~TraceParser()
Destructor
[more]bool parseFile(const char* filename)
Parse a trace file to get process information
[more]vector<Process*> * getProcesses()


Inherited from Parser:

Protected Methods

obool openFile(const char* filename)
obool eraseComments(string& line)
obool isBlankLine(string& line)
ovoid filterToken(string& token)
obool closeFile()


Documentation

An object that parses trace files and creates a process list from them.
o TraceParser()

o ~TraceParser()

obool 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

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