| The Gaudi Framework v29r1 (5cd95fa2)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

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 | __processLine__ (self, line)
def | __processFile__ (self, lines)
def | __call__ (self, input)
def | __add__ (self, rhs)

## Public Attributes
| signature
| siglen

## Detailed Description

Definition at line 796 of file BaseTest.py.

## Constructor & Destructor Documentation

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

Definition at line 797 of file BaseTest.py.

797 def __init__(self, signature):
798 self.signature = signature
799 self.siglen = len(signature)
800
GaudiTesting.BaseTest.LineSorter.siglen
siglen
Definition: BaseTest.py:799
GaudiTesting.BaseTest.LineSorter.__init__
def __init__(self, signature)
Definition: BaseTest.py:797
GaudiTesting.BaseTest.LineSorter.signature
signature
Definition: BaseTest.py:798

## Member Function Documentation

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

Definition at line 801 of file BaseTest.py.

801 def __processLine__(self, line):
802 pos = line.find(self.signature)
803 if pos >= 0:
804 line = line[:(pos + self.siglen)]
805 lst = line[(pos + self.siglen):].split()
806 lst.sort()
807 line += " ".join(lst)
808 return line
809
810
GaudiTesting.BaseTest.LineSorter.__processLine__
def __processLine__(self, line)
Definition: BaseTest.py:801
GaudiTesting.BaseTest.LineSorter.siglen
siglen
Definition: BaseTest.py:799
GaudiTesting.BaseTest.LineSorter.signature
signature
Definition: BaseTest.py:798

## Member Data Documentation

GaudiTesting.BaseTest.LineSorter.siglen

Definition at line 799 of file BaseTest.py.

GaudiTesting.BaseTest.LineSorter.signature

Definition at line 798 of file BaseTest.py.

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

- GaudiPolicy/python/GaudiTesting/BaseTest.py