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

Class NameFinderLineAnalyzer

source code

                         object --+        
                                  |        
    LogLineAnalyzer.LogLineAnalyzer --+    
                                      |    
ContextLineAnalyzer.ContextLineAnalyzer --+
                                          |
                                         NameFinderLineAnalyzer

Class that finds names depending on a context

Instance Methods [hide private]
 
__init__(self, trigger, analyze, idNr=1, nr=1)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
doActualAnalysis(self, line)
Called nr lines after the match
source code
 
callOnChange(self)
To be called if the name list changes
source code

Inherited from ContextLineAnalyzer.ContextLineAnalyzer: callOnMatch, doAnalysis

Inherited from LogLineAnalyzer.LogLineAnalyzer: addListener, getTime, goOn, notify, setDirectory, setParent, tearDown, 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 

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

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: object.__init__

doActualAnalysis(self, line)

source code 

Called nr lines after the match

Parameters:
  • line - The line that should be analyzed
Overrides: ContextLineAnalyzer.ContextLineAnalyzer.doActualAnalysis
(inherited documentation)