Gaudi Framework, version v23r7

Home   Generated: Wed Mar 20 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 370 of file GaudiTest.py.

Constructor & Destructor Documentation

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

Definition at line 371 of file GaudiTest.py.

372  def __init__(self, strings = [], regexps = []):
373  import re
374  self.strings = strings
375  self.regexps = map(re.compile,regexps)

Member Function Documentation

def GaudiTest.LineSkipper.__processLine__ (   self,
  line 
)

Definition at line 376 of file GaudiTest.py.

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

Member Data Documentation

GaudiTest.LineSkipper.regexps

Definition at line 374 of file GaudiTest.py.

GaudiTest.LineSkipper.strings

Definition at line 373 of file GaudiTest.py.


The documentation for this class was generated from the following file:
Generated at Wed Mar 20 2013 17:59:51 for Gaudi Framework, version v23r7 by Doxygen version 1.8.2 written by Dimitri van Heesch, © 1997-2004