| # Gaudi Framework, version v22r0 |

Home |  | Generated: 9 Feb 2011

# 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.

    00361                                                   :
    00362         import re
    00363         self.strings = strings
    00364         self.regexps = map(re.compile,regexps)

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

Reimplemented from GaudiTest::FilePreprocessor.

Definition at line 365 of file GaudiTest.py.

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

## Member Data Documentation

GaudiTest::LineSkipper::regexps

Definition at line 363 of file GaudiTest.py.

GaudiTest::LineSkipper::strings

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_v22r0/GaudiPolicy/qmtest_classes/GaudiTest.py

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines