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

Class NameFinderLineAnalyzer

source code

                         object --+        
                                  |        
    LogLineAnalyzer.LogLineAnalyzer --+    
                                      |    
ContextLineAnalyzer.ContextLineAnalyzer --+
                                          |
                                         NameFinderLineAnalyzer
Known Subclasses:
ValueLineAnalyzer.ValueNameFinderLineAnalyzer

Class that finds names depending on a context

Instance Methods [hide private]
  __init__(self, trigger, analyze, idNr=1, nr=1)
  doActualAnalysis(self, line)
Called nr lines after the match
  callOnChange(self)
To be called if the name list changes

Inherited from ContextLineAnalyzer.ContextLineAnalyzer: callOnMatch, doAnalysis

Inherited from LogLineAnalyzer.LogLineAnalyzer: getTime, goOn, setDirectory, setParent, timeChanged

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


Properties [hide private]

Inherited from object: __class__


Method Details [hide private]

__init__(self, trigger, analyze, idNr=1, nr=1)
(Constructor)

source code 
Parameters:
  • trigger - The regular expression that has to match before data is collected
  • nr - The number of lines after the match that data is collected
  • analyze - The regular expression that is used for analysis
  • idNr - The id of the group that is used for analysis
Overrides: ContextLineAnalyzer.ContextLineAnalyzer.__init__

doActualAnalysis(self, line)

source code 
Called nr lines after the match
Overrides: ContextLineAnalyzer.ContextLineAnalyzer.doActualAnalysis
(inherited documentation)

callOnChange(self)

source code 
To be called if the name list changes