| # Gaudi Framework, version v20r4
Generated: 8 Jan 2009

# GaudiTest::LineSkipper Class Reference

Inheritance diagram for GaudiTest::LineSkipper:

[legend]
Collaboration diagram for GaudiTest::LineSkipper:

[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

GaudiTest::LineSkipper::strings

Definition at line 343 of file GaudiTest.py.

GaudiTest::LineSkipper::regexps

Definition at line 344 of file GaudiTest.py.

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v20r4/GaudiPolicy/qmtest_classes/GaudiTest.py