| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
GaudiTest.LineSkipper Class Reference
Inheritance diagram for GaudiTest.LineSkipper:
[legend]
Collaboration diagram for GaudiTest.LineSkipper:
[legend]

## Public Member Functions
def | __init__
def | __processLine__
Public Member Functions inherited from GaudiTest.FilePreprocessor
def | __processLine__
def | __call__
def | __add__

## Public Attributes
| strings
| regexps

## Detailed Description

Definition at line 427 of file GaudiTest.py.

## Constructor & Destructor Documentation

def GaudiTest.LineSkipper.__init__ | ( |  | self,
|  |  | strings = `[]`,
|  |  | regexps = `[]`
| ) |  |

Definition at line 428 of file GaudiTest.py.

428
429 def __init__(self, strings = [], regexps = []):
430 import re
431 self.strings = strings
432 self.regexps = map(re.compile,regexps)

## Member Function Documentation

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

Definition at line 433 of file GaudiTest.py.

433
434 def __processLine__(self, line):
435 for s in self.strings:
436 if line.find(s) >= 0: return None
437 for r in self.regexps:
438 if r.search(line): return None
439 return line

## Member Data Documentation

GaudiTest.LineSkipper.regexps

Definition at line 431 of file GaudiTest.py.

GaudiTest.LineSkipper.strings

Definition at line 430 of file GaudiTest.py.

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

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