| The Gaudi Framework v28r2p1 (f1a77ff4)

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

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

Public Member Functions | Public Attributes | List of all members
GaudiTesting.BaseTest.LineSkipper Class Reference
Inheritance diagram for GaudiTesting.BaseTest.LineSkipper:
[legend]
Collaboration diagram for GaudiTesting.BaseTest.LineSkipper:
[legend]

## Public Member Functions
def | __init__ (self, strings=[], regexps=[])
def | __processLine__ (self, line)
Public Member Functions inherited from GaudiTesting.BaseTest.FilePreprocessor
def | __processLine__ (self, line)
def | __processFile__ (self, lines)
def | __call__ (self, input)
def | __add__ (self, rhs)

## Public Attributes
| strings
| regexps

## Detailed Description

Definition at line 682 of file BaseTest.py.

## Constructor & Destructor Documentation

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

Definition at line 683 of file BaseTest.py.

683 def __init__(self, strings = [], regexps = []):
684 import re
685 self.strings = strings
686 self.regexps = map(re.compile,regexps)
687
GaudiTesting.BaseTest.LineSkipper.strings
strings
Definition: BaseTest.py:685
Containers::map
struct GAUDI_API map
Parametrisation class for map-like implementation.
Definition: KeyedObjectManager.h:25
GaudiTesting.BaseTest.LineSkipper.__init__
def __init__(self, strings=[], regexps=[])
Definition: BaseTest.py:683
GaudiTesting.BaseTest.LineSkipper.regexps
regexps
Definition: BaseTest.py:686

## Member Function Documentation

def GaudiTesting.BaseTest.LineSkipper.__processLine__ | ( |  | self,
|  |  | line
| ) |  |

Definition at line 688 of file BaseTest.py.

688 def __processLine__(self, line):
689 for s in self.strings:
690 if line.find(s) >= 0: return None
691 for r in self.regexps:
692 if r.search(line): return None
693 return line
694
GaudiTesting.BaseTest.LineSkipper.strings
strings
Definition: BaseTest.py:685
GaudiTesting.BaseTest.LineSkipper.__processLine__
def __processLine__(self, line)
Definition: BaseTest.py:688
GaudiTesting.BaseTest.LineSkipper.regexps
regexps
Definition: BaseTest.py:686

## Member Data Documentation

GaudiTesting.BaseTest.LineSkipper.regexps

Definition at line 686 of file BaseTest.py.

GaudiTesting.BaseTest.LineSkipper.strings

Definition at line 685 of file BaseTest.py.

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

- GaudiPolicy/python/GaudiTesting/BaseTest.py