| The Gaudi Framework v30r0 (c919700c)

- 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 805 of file BaseTest.py.

## Constructor & Destructor Documentation

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

Definition at line 807 of file BaseTest.py.

807 def __init__(self, signature):
808 self.signature = signature
809 self.siglen = len(signature)
810
GaudiTesting.BaseTest.LineSorter.siglen
siglen
Definition: BaseTest.py:809
GaudiTesting.BaseTest.LineSorter.__init__
def __init__(self, signature)
Definition: BaseTest.py:807
GaudiTesting.BaseTest.LineSorter.signature
signature
Definition: BaseTest.py:808

## Member Function Documentation

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

Definition at line 811 of file BaseTest.py.

811 def __processLine__(self, line):
812 pos = line.find(self.signature)
813 if pos >= 0:
814 line = line[:(pos + self.siglen)]
815 lst = line[(pos + self.siglen):].split()
816 lst.sort()
817 line += " ".join(lst)
818 return line
819
820
GaudiTesting.BaseTest.LineSorter.__processLine__
def __processLine__(self, line)
Definition: BaseTest.py:811
GaudiTesting.BaseTest.LineSorter.siglen
siglen
Definition: BaseTest.py:809
GaudiTesting.BaseTest.LineSorter.signature
signature
Definition: BaseTest.py:808

## Member Data Documentation

GaudiTesting.BaseTest.LineSorter.siglen

Definition at line 809 of file BaseTest.py.

GaudiTesting.BaseTest.LineSorter.signature

Definition at line 808 of file BaseTest.py.

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

- GaudiPolicy/python/GaudiTesting/BaseTest.py