Gaudi Framework, version v21r7

Home   Generated: 22 Jan 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 358 of file GaudiTest.py.


Member Function Documentation

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

Definition at line 359 of file GaudiTest.py.

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

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

Reimplemented from GaudiTest::FilePreprocessor.

Definition at line 364 of file GaudiTest.py.

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


Member Data Documentation

Definition at line 361 of file GaudiTest.py.

Definition at line 362 of file GaudiTest.py.


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

Generated at Fri Jan 22 20:44:58 2010 for Gaudi Framework, version v21r7 by Doxygen version 1.5.6 written by Dimitri van Heesch, © 1997-2004