| The Gaudi Framework v32r1 (f65d50dc)

Public Member Functions | Public Attributes | List of all members
GaudiTesting.BaseTest.LineSorter Class Reference
Inheritance diagram for GaudiTesting.BaseTest.LineSorter:
[legend]
Collaboration diagram for GaudiTesting.BaseTest.LineSorter:
[legend]

## Public Member Functions
def | __init__ (self, signature)
def | __processLine__ (self, line)
Public Member Functions inherited from GaudiTesting.BaseTest.FilePreprocessor
def | __processFile__ (self, lines)
def | __call__ (self, input)
def | __add__ (self, rhs)

## Public Attributes
| signature
| siglen

## Detailed Description

Definition at line 864 of file BaseTest.py.

## Constructor & Destructor Documentation

## ◆ __init__()

def GaudiTesting.BaseTest.LineSorter.__init__ | ( |  | self,
|  |  | signature
| ) |  |

Definition at line 865 of file BaseTest.py.

865 def __init__(self, signature):
866 self.signature = signature
867 self.siglen = len(signature)
868

## Member Function Documentation

## ◆ __processLine__()

def GaudiTesting.BaseTest.LineSorter.__processLine__ | ( |  | self,
|  |  | line
| ) |  |

Reimplemented from GaudiTesting.BaseTest.FilePreprocessor.

Definition at line 869 of file BaseTest.py.

869 def __processLine__(self, line):
870 pos = line.find(self.signature)
871 if pos >= 0:
872 line = line[:(pos + self.siglen)]
873 lst = line[(pos + self.siglen):].split()
874 lst.sort()
875 line += " ".join(lst)
876 return line
877
878
GaudiTesting.BaseTest.__processLine__
__processLine__
Definition: BaseTest.py:854

## Member Data Documentation

## ◆ siglen

GaudiTesting.BaseTest.LineSorter.siglen

Definition at line 867 of file BaseTest.py.

## ◆ signature

GaudiTesting.BaseTest.LineSorter.signature

Definition at line 866 of file BaseTest.py.

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

- GaudiPolicy/python/GaudiTesting/BaseTest.py