| # Gaudi Framework, version v21r8 |

Home |  | Generated: 17 Mar 2010

# GaudiTest::LineSkipper Class Reference

Inheritance diagram for GaudiTest::LineSkipper:

[legend]
Collaboration diagram for GaudiTest::LineSkipper:

[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

GaudiTest::LineSkipper::strings

Definition at line 362 of file GaudiTest.py.

GaudiTest::LineSkipper::regexps

Definition at line 363 of file GaudiTest.py.

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

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