The Gaudi Framework  v29r0 (ff2e7097)
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 __processLine__ (self, line)
 
def __call__ (self, input)
 
def __add__ (self, rhs)
 

Public Attributes

 start
 
 end
 

Private Attributes

 _skipping
 

Detailed Description

Definition at line 487 of file GaudiTest.py.

Constructor & Destructor Documentation

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

Definition at line 488 of file GaudiTest.py.

488  def __init__(self, start, end):
489  self.start = start
490  self.end = end
491  self._skipping = False
492 
def __init__(self, start, end)
Definition: GaudiTest.py:488

Member Function Documentation

def GaudiTest.BlockSkipper.__processLine__ (   self,
  line 
)

Definition at line 493 of file GaudiTest.py.

493  def __processLine__(self, line):
494  if self.start in line:
495  self._skipping = True
496  return None
497  elif self.end in line:
498  self._skipping = False
499  elif self._skipping:
500  return None
501  return line
502 
503 
def __processLine__(self, line)
Definition: GaudiTest.py:493

Member Data Documentation

GaudiTest.BlockSkipper._skipping
private

Definition at line 491 of file GaudiTest.py.

GaudiTest.BlockSkipper.end

Definition at line 490 of file GaudiTest.py.

GaudiTest.BlockSkipper.start

Definition at line 489 of file GaudiTest.py.


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