Home | Trees | Indices | Help |
---|
|
1 """Line analyzer with output""" 2 3 import re 4 5 ##from LogLineAnalyzer import LogLineAnalyzer 6 ##from PyFoam.Basics.OutFileCollection import OutFileCollection 7 8 from GeneralLineAnalyzer import GeneralLineAnalyzer 911 """Base class for analyzers that write data to files 12 13 Just a stub to enable legacy code""" 1420 21 22 ##class FileLineAnalyzer(LogLineAnalyzer): 23 ## """Base class for analyzers that write data to files""" 24 25 ## def __init__(self,titles=[]): 26 ## """ 27 ## @param titles: The titles of the data elements 28 ## """ 29 ## LogLineAnalyzer.__init__(self) 30 31 ## self.files=None 32 ## self.setTitles(titles) 33 34 ## def setTitles(self,titles): 35 ## """ 36 ## Sets the titles anew 37 ## @param titles: the new titles 38 ## """ 39 ## self.titles=titles 40 ## if self.files!=None: 41 ## self.files.setTitles(titles) 42 43 ## def setDirectory(self,oDir): 44 ## """Creates the OutFileCollection-object""" 45 ## self.files=OutFileCollection(oDir,titles=self.titles) 4616 """ 17 @param titles: The titles of the data elements 18 """ 19 GeneralLineAnalyzer.__init__(self,doFiles=True,titles=titles)
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0alpha3 on Thu Mar 29 18:31:35 2007 | http://epydoc.sourceforge.net |