Gaudi Framework, version v24r2

Home   Generated: Wed Dec 4 2013
 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:
Inheritance graph
[legend]
Collaboration diagram for GaudiTest.LineSkipper:
Collaboration graph
[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 373 of file GaudiTest.py.

Constructor & Destructor Documentation

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

Definition at line 374 of file GaudiTest.py.

375  def __init__(self, strings = [], regexps = []):
376  import re
377  self.strings = strings
378  self.regexps = map(re.compile,regexps)

Member Function Documentation

def GaudiTest.LineSkipper.__processLine__ (   self,
  line 
)

Definition at line 379 of file GaudiTest.py.

380  def __processLine__(self, line):
381  for s in self.strings:
382  if line.find(s) >= 0: return None
383  for r in self.regexps:
384  if r.search(line): return None
385  return line

Member Data Documentation

GaudiTest.LineSkipper.regexps

Definition at line 377 of file GaudiTest.py.

GaudiTest.LineSkipper.strings

Definition at line 376 of file GaudiTest.py.


The documentation for this class was generated from the following file:
Generated at Wed Dec 4 2013 14:33:23 for Gaudi Framework, version v24r2 by Doxygen version 1.8.2 written by Dimitri van Heesch, © 1997-2004