| The Gaudi Framework v30r0 (c919700c)

- 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 732 of file BaseTest.py.

## Constructor & Destructor Documentation

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

Definition at line 734 of file BaseTest.py.

734 def __init__(self, strings=[], regexps=[]):
735 import re
736 self.strings = strings
737 self.regexps = map(re.compile, regexps)
738
GaudiTesting.BaseTest.LineSkipper.strings
strings
Definition: BaseTest.py:736
Containers::map
struct GAUDI_API map
Parametrisation class for map-like implementation.
Definition: KeyedObjectManager.h:26
GaudiTesting.BaseTest.LineSkipper.__init__
def __init__(self, strings=[], regexps=[])
Definition: BaseTest.py:734
GaudiTesting.BaseTest.LineSkipper.regexps
regexps
Definition: BaseTest.py:737

## Member Function Documentation

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

Definition at line 739 of file BaseTest.py.

739 def __processLine__(self, line):
740 for s in self.strings:
741 if line.find(s) >= 0:
742 return None
743 for r in self.regexps:
744 if r.search(line):
745 return None
746 return line
747
748
GaudiTesting.BaseTest.LineSkipper.strings
strings
Definition: BaseTest.py:736
GaudiTesting.BaseTest.LineSkipper.__processLine__
def __processLine__(self, line)
Definition: BaseTest.py:739
GaudiTesting.BaseTest.LineSkipper.regexps
regexps
Definition: BaseTest.py:737

## Member Data Documentation

GaudiTesting.BaseTest.LineSkipper.regexps

Definition at line 737 of file BaseTest.py.

GaudiTesting.BaseTest.LineSkipper.strings

Definition at line 736 of file BaseTest.py.

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

- GaudiPolicy/python/GaudiTesting/BaseTest.py