Package PyFoam :: Package Execution :: Module AnalyzedCommon :: Class AnalyzedCommon
[show private | hide private]
[frames | no frames]

Class AnalyzedCommon

Known Subclasses:
AnalyzedRunner, AnalyzedWatcher, StepAnalyzedCommon

This class collects information and methods that are needed for handling analyzers
Method Summary
  __init__(self, filename, analyzer)
  addAnalyzer(self, name, analyzer)
  getAnalyzer(self, name)
  getDirname(self)
Get the name of the directory where the data is written to
  getTime(self)
Get the execution time
  lineHandle(self, line)
Not to be called: calls the analyzer for the current line
  reset(self)
reset the analyzer
  tearDown(self)

Method Details

__init__(self, filename, analyzer)
(Constructor)

Parameters:
filename - name of the file that is being analyzed
analyzer - the analyzer itself

addAnalyzer(self, name, analyzer)

Parameters:
name - name of the LineAnalyzer to add
analyzer - the analyzer to add

getAnalyzer(self, name)

Parameters:
name - name of the LineAnalyzer to get

getDirname(self)

Get the name of the directory where the data is written to

getTime(self)

Get the execution time

lineHandle(self, line)

Not to be called: calls the analyzer for the current line

reset(self)

reset the analyzer

Generated by Epydoc 2.1 on Mon Jan 22 23:52:48 2007 http://epydoc.sf.net