| The Gaudi Framework v32r1 (f65d50dc)

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__ (self, strings=[], regexps=[])
def | __processLine__ (self, line)
Public Member Functions inherited from GaudiTest.FilePreprocessor
def | __call__ (self, input)
def | __add__ (self, rhs)

## Public Attributes
| strings
| regexps

## Detailed Description

Definition at line 483 of file GaudiTest.py.

## Constructor & Destructor Documentation

## ◆ __init__()

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

Definition at line 484 of file GaudiTest.py.

484 def __init__(self, strings=[], regexps=[]):
485 import re
486 self.strings = strings
487 self.regexps = map(re.compile, regexps)
488
Containers::map
struct GAUDI_API map
Parametrisation class for map-like implementation.
Definition: KeyedObjectManager.h:25

## Member Function Documentation

## ◆ __processLine__()

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

Reimplemented from GaudiTest.FilePreprocessor.

Definition at line 489 of file GaudiTest.py.

489 def __processLine__(self, line):
490 for s in self.strings:
491 if line.find(s) >= 0:
492 return None
493 for r in self.regexps:
494 if r.search(line):
495 return None
496 return line
497
498
GaudiTest.__processLine__
__processLine__
Definition: GaudiTest.py:543

## Member Data Documentation

## ◆ regexps

GaudiTest.LineSkipper.regexps

Definition at line 487 of file GaudiTest.py.

## ◆ strings

GaudiTest.LineSkipper.strings

Definition at line 486 of file GaudiTest.py.

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

- GaudiPolicy/qmtest_classes/GaudiTest.py