Gaudi Framework, version v20r4

Generated: 8 Jan 2009

GaudiTest::LineSkipper Class Reference

Inheritance diagram for GaudiTest::LineSkipper:

Inheritance graph
[legend]
Collaboration diagram for GaudiTest::LineSkipper:

Collaboration graph
[legend]

List of all members.


Detailed Description

Definition at line 340 of file GaudiTest.py.


Public Member Functions

def __init__
def __processLine__

Public Attributes

 strings
 regexps

Member Function Documentation

def GaudiTest::LineSkipper::__init__ (   self,
  strings = [],
  regexps = [] 
)

Definition at line 341 of file GaudiTest.py.

00341                                                   :
00342         import re
00343         self.strings = strings
00344         self.regexps = map(re.compile,regexps)
00345         
    def __processLine__(self, line):

def GaudiTest::LineSkipper::__processLine__ (   self,
  line 
)

Reimplemented from GaudiTest::FilePreprocessor.

Definition at line 346 of file GaudiTest.py.

00346                                    :
00347         for s in self.strings:
00348             if line.find(s) >= 0: return None
00349         for r in self.regexps:
00350             if r.search(line): return None
00351         return line
00352 
class RegexpReplacer(FilePreprocessor):


Member Data Documentation

Definition at line 343 of file GaudiTest.py.

Definition at line 344 of file GaudiTest.py.


The documentation for this class was generated from the following file:

Generated at Thu Jan 8 17:53:59 2009 for Gaudi Framework, version v20r4 by Doxygen version 1.5.6 written by Dimitri van Heesch, © 1997-2004