| 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
GaudiTest.LineSorter Class Reference
Inheritance diagram for GaudiTest.LineSorter:
[legend]
Collaboration diagram for GaudiTest.LineSorter:
[legend]

## Public Member Functions
def | __init__ (self, signature)
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
| signature
| siglen

## Detailed Description

Definition at line 540 of file GaudiTest.py.

## Constructor & Destructor Documentation

def GaudiTest.LineSorter.__init__ | ( |  | self,
|  |  | signature
| ) |  |

Definition at line 541 of file GaudiTest.py.

541 def __init__(self, signature):
542 self.signature = signature
543 self.siglen = len(signature)
544
GaudiTest.LineSorter.__init__
def __init__(self, signature)
Definition: GaudiTest.py:541
GaudiTest.LineSorter.siglen
siglen
Definition: GaudiTest.py:543
GaudiTest.LineSorter.signature
signature
Definition: GaudiTest.py:542

## Member Function Documentation

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

Definition at line 545 of file GaudiTest.py.

545 def __processLine__(self, line):
546 pos = line.find(self.signature)
547 if pos >= 0:
548 line = line[:(pos + self.siglen)]
549 lst = line[(pos + self.siglen):].split()
550 lst.sort()
551 line += " ".join(lst)
552 return line
553
554
555 # Preprocessors for GaudiExamples
GaudiTest.LineSorter.siglen
siglen
Definition: GaudiTest.py:543
GaudiTest.LineSorter.__processLine__
def __processLine__(self, line)
Definition: GaudiTest.py:545
GaudiTest.LineSorter.signature
signature
Definition: GaudiTest.py:542

## Member Data Documentation

GaudiTest.LineSorter.siglen

Definition at line 543 of file GaudiTest.py.

GaudiTest.LineSorter.signature

Definition at line 542 of file GaudiTest.py.

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

- GaudiPolicy/qmtest_classes/GaudiTest.py