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

Class PhaseChangerLineAnalyzer

source code

                         object --+        
                                  |        
    LogLineAnalyzer.LogLineAnalyzer --+    
                                      |    
GeneralLineAnalyzer.GeneralLineAnalyzer --+
                                          |
                                         PhaseChangerLineAnalyzer

Parses lines for an arbitrary regular expression and sets the phase if it fits

Instance Methods [hide private]
 
__init__(self, exp, idNr=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
doAnalysis(self, line)
Look for the pattern.
source code

Inherited from GeneralLineAnalyzer.GeneralLineAnalyzer: addToFiles, addToTimelines, endAnalysis, getCurrentData, getTimeline, setDirectory, setMaster, setTitles, startAnalysis, tearDown, timeChanged

Inherited from LogLineAnalyzer.LogLineAnalyzer: addListener, getTime, goOn, notify, setParent, writeProgress

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]

Inherited from GeneralLineAnalyzer.GeneralLineAnalyzer: fName, setPhase

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, exp, idNr=None)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Parameters:
  • name - name of the expression (needed for output
  • exp - that holds the phase name
  • idNr - number of the pattern group that is used as the phase name
Overrides: object.__init__

doAnalysis(self, line)

source code 

Look for the pattern. If it matches set the phase name

Overrides: LogLineAnalyzer.LogLineAnalyzer.doAnalysis