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

Class GeneralSimpleLineAnalyzer

source code

                         object --+        
                                  |        
    LogLineAnalyzer.LogLineAnalyzer --+    
                                      |    
GeneralLineAnalyzer.GeneralLineAnalyzer --+
                                          |
                                         GeneralSimpleLineAnalyzer

Parses lines for an arbitrary regular expression

Differs from RegExpLineAnalyzer because it doesn't store its data

Instance Methods [hide private]
 
__init__(self, name, exp, idNr=None, idList=None, titles=[], doTimelines=True, doFiles=True, singleFile=False, startTime=None, endTime=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
addToFiles(self, match)
Method that adds matched data to files
source code
 
addToTimelines(self, match)
Method that adds matched data to timelines
source code

Inherited from GeneralLineAnalyzer.GeneralLineAnalyzer: doAnalysis, 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__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, name, exp, idNr=None, idList=None, titles=[], doTimelines=True, doFiles=True, singleFile=False, startTime=None, endTime=None)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Parameters:
  • name - name of the expression (needed for output)
  • exp - the regular expression
  • idNr - number of the pattern group that is used as an identifier
  • idList - numbers of the pattern group that are used from the expression
  • titles - titles for the data items
Overrides: object.__init__

addToFiles(self, match)

source code 

Method that adds matched data to files

Parameters:
  • match - data matched by a regular expression
Overrides: GeneralLineAnalyzer.GeneralLineAnalyzer.addToFiles
(inherited documentation)

addToTimelines(self, match)

source code 

Method that adds matched data to timelines

Parameters:
  • match - data matched by a regular expression
Overrides: GeneralLineAnalyzer.GeneralLineAnalyzer.addToTimelines
(inherited documentation)