CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Attributes
edmTracerLogToSimpleConfig.PathParser Class Reference
Inheritance diagram for edmTracerLogToSimpleConfig.PathParser:

Public Member Functions

def __init__
 
def finish
 
def parse
 

Private Attributes

 __preamble
 
 _isEndPath
 
 _pathToModules
 
 _presentPath
 
 _presentPathName
 

Detailed Description

Definition at line 24 of file edmTracerLogToSimpleConfig.py.

Constructor & Destructor Documentation

def edmTracerLogToSimpleConfig.PathParser.__init__ (   self)

Member Function Documentation

def edmTracerLogToSimpleConfig.PathParser.finish (   self)

Definition at line 43 of file edmTracerLogToSimpleConfig.py.

References edmTracerLogToSimpleConfig.PathParser._pathToModules, edmTracerLogToSimpleConfig.PathParser._presentPath, and edmTracerLogToSimpleConfig.PathParser._presentPathName.

Referenced by progressbar.ProgressBar.__next__().

43 
44  def finish(self):
45  if self._presentPathName:
def edmTracerLogToSimpleConfig.PathParser.parse (   self,
  line 
)

Definition at line 31 of file edmTracerLogToSimpleConfig.py.

References edmTracerLogToSimpleConfig.PathParser.__preamble, edmTracerLogToSimpleConfig.PathParser._pathToModules, edmTracerLogToSimpleConfig.PathParser._presentPath, edmTracerLogToSimpleConfig.PathParser._presentPathName, and edmTracerLogToSimpleConfig.fixName().

31 
32  def parse(self,line):
33  if line[:len(self.__preamble)] == self.__preamble:
34  if self._presentPathName:
36  self._presentPathName = line.split(" ")[3][:-2]
37  if -1 != line.find('end path'):
38  self._isEndPath.add(self._presentPathName)
39  self._presentPath = []
40  else:
41  n = line.strip()
42  if self._presentPathName != n:
self._presentPath.append( fixName(n) )

Member Data Documentation

edmTracerLogToSimpleConfig.PathParser.__preamble
private

Definition at line 30 of file edmTracerLogToSimpleConfig.py.

Referenced by edmTracerLogToSimpleConfig.PathParser.parse().

edmTracerLogToSimpleConfig.PathParser._isEndPath
private

Definition at line 27 of file edmTracerLogToSimpleConfig.py.

edmTracerLogToSimpleConfig.PathParser._pathToModules
private

Definition at line 26 of file edmTracerLogToSimpleConfig.py.

Referenced by edmTracerLogToSimpleConfig.PathParser.finish(), and edmTracerLogToSimpleConfig.PathParser.parse().

edmTracerLogToSimpleConfig.PathParser._presentPath
private

Definition at line 28 of file edmTracerLogToSimpleConfig.py.

Referenced by edmTracerLogToSimpleConfig.PathParser.finish(), and edmTracerLogToSimpleConfig.PathParser.parse().

edmTracerLogToSimpleConfig.PathParser._presentPathName
private

Definition at line 29 of file edmTracerLogToSimpleConfig.py.

Referenced by edmTracerLogToSimpleConfig.PathParser.finish(), and edmTracerLogToSimpleConfig.PathParser.parse().