Gaudi Framework, version v21r4

Home   Generated: 7 Sep 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 342 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 343 of file GaudiTest.py.

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

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

Reimplemented from GaudiTest::FilePreprocessor.

Definition at line 348 of file GaudiTest.py.

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


Member Data Documentation

Definition at line 345 of file GaudiTest.py.

Definition at line 346 of file GaudiTest.py.


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

Generated at Mon Sep 7 18:26:45 2009 for Gaudi Framework, version v21r4 by Doxygen version 1.5.6 written by Dimitri van Heesch, © 1997-2004