Package PyFoam :: Package LogAnalysis :: Module SimpleLineAnalyzer :: Class SimpleLineAnalyzer
[show private | hide private]
[frames | no frames]

Class SimpleLineAnalyzer

LogLineAnalyzer --+    
                  |    
   FileLineAnalyzer --+
                      |
                     SimpleLineAnalyzer


Parses lines for an arbitrary regular expression

Differs from RegExpLineAnalyzer because it doesn't store its data
Method Summary
  __init__(self, name, exp, idNr, titles)
name - name of the expression (needed for output exp - the regular expression idNr - number of the pattern group that is used as an identifier
  doAnalysis(self, line)
Analyzes line and writes the data
    Inherited from FileLineAnalyzer
  setDirectory(self, oDir)
Creates the OutFileCollection-object
  setTitles(self, titles)
Sets the titles anews
    Inherited from LogLineAnalyzer
  getTime(self)
Return current time
  goOn(self)
If the analyzer thinks the simulation should be stopped (for instance because of convergence) it returns false
  setParent(self, parent)
Introduces the LineAnalyzer to its supervisor

Method Details

__init__(self, name, exp, idNr=None, titles=[])
(Constructor)

name - name of the expression (needed for output exp - the regular expression idNr - number of the pattern group that is used as an identifier
Overrides:
PyFoam.LogAnalysis.FileLineAnalyzer.FileLineAnalyzer.__init__

doAnalysis(self, line)

Analyzes line and writes the data
Overrides:
PyFoam.LogAnalysis.LogLineAnalyzer.LogLineAnalyzer.doAnalysis

Generated by Epydoc 2.1 on Fri Jan 13 15:23:07 2006 http://epydoc.sf.net