The Gaudi Framework  v31r0 (aeb156f0)
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 499 of file GaudiTest.py.

Constructor & Destructor Documentation

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

Definition at line 500 of file GaudiTest.py.

500  def __init__(self, start, end):
501  self.start = start
502  self.end = end
503  self._skipping = False
504 
def __init__(self, start, end)
Definition: GaudiTest.py:500

Member Function Documentation

def GaudiTest.BlockSkipper.__processLine__ (   self,
  line 
)

Definition at line 505 of file GaudiTest.py.

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

Member Data Documentation

GaudiTest.BlockSkipper._skipping
private

Definition at line 503 of file GaudiTest.py.

GaudiTest.BlockSkipper.end

Definition at line 502 of file GaudiTest.py.

GaudiTest.BlockSkipper.start

Definition at line 501 of file GaudiTest.py.


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