| # Gaudi Framework, version v21r6 |

Home |  | Generated: 11 Nov 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 358 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 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

GaudiTest::LineSkipper::strings

Definition at line 361 of file GaudiTest.py.

GaudiTest::LineSkipper::regexps

Definition at line 362 of file GaudiTest.py.

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

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