The Gaudi Framework  v32r2 (46d42edc)
GaudiTest.BlockSkipper Class Reference
Inheritance diagram for GaudiTest.BlockSkipper:
Collaboration diagram for GaudiTest.BlockSkipper:

Public Member Functions

def __init__ (self, start, end)
 
def __processLine__ (self, line)
 
- Public Member Functions inherited from GaudiTest.FilePreprocessor
def __call__ (self, input)
 
def __add__ (self, rhs)
 

Public Attributes

 start
 
 end
 

Private Attributes

 _skipping
 

Detailed Description

Definition at line 500 of file GaudiTest.py.

Constructor & Destructor Documentation

◆ __init__()

def GaudiTest.BlockSkipper.__init__ (   self,
  start,
  end 
)

Definition at line 501 of file GaudiTest.py.

501  def __init__(self, start, end):
502  self.start = start
503  self.end = end
504  self._skipping = False
505 

Member Function Documentation

◆ __processLine__()

def GaudiTest.BlockSkipper.__processLine__ (   self,
  line 
)

Reimplemented from GaudiTest.FilePreprocessor.

Definition at line 506 of file GaudiTest.py.

506  def __processLine__(self, line):
507  if self.start in line:
508  self._skipping = True
509  return None
510  elif self.end in line:
511  self._skipping = False
512  elif self._skipping:
513  return None
514  return line
515 
516 

Member Data Documentation

◆ _skipping

GaudiTest.BlockSkipper._skipping
private

Definition at line 504 of file GaudiTest.py.

◆ end

GaudiTest.BlockSkipper.end

Definition at line 503 of file GaudiTest.py.

◆ start

GaudiTest.BlockSkipper.start

Definition at line 502 of file GaudiTest.py.


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