| The Gaudi Framework v32r1 (f65d50dc)

Public Member Functions | Public Attributes | Private Attributes | List of all members
GaudiTest.BlockSkipper Class Reference
Inheritance diagram for GaudiTest.BlockSkipper:
[legend]
Collaboration diagram for GaudiTest.BlockSkipper:
[legend]

## 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 499 of file GaudiTest.py.

## Constructor & Destructor Documentation

## ◆ __init__()

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

## Member Function Documentation

## ◆ __processLine__()

def GaudiTest.BlockSkipper.__processLine__ | ( |  | self,
|  |  | line
| ) |  |

Reimplemented from GaudiTest.FilePreprocessor.

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
GaudiTest.__processLine__
__processLine__
Definition: GaudiTest.py:543

## Member Data Documentation

## ◆ _skipping

GaudiTest.BlockSkipper._skipping
| private

Definition at line 503 of file GaudiTest.py.

## ◆ end

GaudiTest.BlockSkipper.end

Definition at line 502 of file GaudiTest.py.

## ◆ start

GaudiTest.BlockSkipper.start

Definition at line 501 of file GaudiTest.py.

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

- GaudiPolicy/qmtest_classes/GaudiTest.py