Gaudi Framework, version v21r9

Home   Generated: 3 May 2010

GaudiTest::LineSkipper Class Reference

Inheritance diagram for GaudiTest::LineSkipper:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def __processLine__

Public Attributes

 strings
 regexps


Detailed Description

Definition at line 359 of file GaudiTest.py.


Member Function Documentation

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

Definition at line 360 of file GaudiTest.py.

00360                                                   :
00361         import re
00362         self.strings = strings
00363         self.regexps = map(re.compile,regexps)
00364         
    def __processLine__(self, line):

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

Reimplemented from GaudiTest::FilePreprocessor.

Definition at line 365 of file GaudiTest.py.

00365                                    :
00366         for s in self.strings:
00367             if line.find(s) >= 0: return None
00368         for r in self.regexps:
00369             if r.search(line): return None
00370         return line
00371 
class BlockSkipper(FilePreprocessor):


Member Data Documentation

Definition at line 362 of file GaudiTest.py.

Definition at line 363 of file GaudiTest.py.


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

Generated at Mon May 3 12:29:05 2010 for Gaudi Framework, version v21r9 by Doxygen version 1.5.6 written by Dimitri van Heesch, © 1997-2004