Gaudi Framework, version v25r0

Home   Generated: Mon Feb 17 2014
 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 427 of file GaudiTest.py.

Constructor & Destructor Documentation

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

Definition at line 428 of file GaudiTest.py.

429  def __init__(self, strings = [], regexps = []):
430  import re
431  self.strings = strings
432  self.regexps = map(re.compile,regexps)

Member Function Documentation

def GaudiTest.LineSkipper.__processLine__ (   self,
  line 
)

Definition at line 433 of file GaudiTest.py.

434  def __processLine__(self, line):
435  for s in self.strings:
436  if line.find(s) >= 0: return None
437  for r in self.regexps:
438  if r.search(line): return None
439  return line

Member Data Documentation

GaudiTest.LineSkipper.regexps

Definition at line 431 of file GaudiTest.py.

GaudiTest.LineSkipper.strings

Definition at line 430 of file GaudiTest.py.


The documentation for this class was generated from the following file:
Generated at Mon Feb 17 2014 14:38:20 for Gaudi Framework, version v25r0 by Doxygen version 1.8.2 written by Dimitri van Heesch, © 1997-2004