Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pump.Cursor Class Reference

Public Member Functions

def __init__
 
def __eq__
 
def __ne__
 
def __lt__
 
def __le__
 
def __gt__
 
def __ge__
 
def __str__
 
def __add__
 
def __sub__
 
def Clone
 

Public Attributes

 line
 
 column
 

Detailed Description

Represents a position (line and column) in a text file.

Definition at line 87 of file pump.py.

View newest version in sPHENIX GitHub at line 87 of file pump.py

Constructor & Destructor Documentation

def pump.Cursor.__init__ (   self,
  line = -1,
  column = -1 
)

Definition at line 90 of file pump.py.

View newest version in sPHENIX GitHub at line 90 of file pump.py

Member Function Documentation

def pump.Cursor.__add__ (   self,
  offset 
)
def pump.Cursor.__eq__ (   self,
  rhs 
)
def pump.Cursor.__ge__ (   self,
  rhs 
)

Definition at line 110 of file pump.py.

View newest version in sPHENIX GitHub at line 110 of file pump.py

def pump.Cursor.__gt__ (   self,
  rhs 
)

Definition at line 107 of file pump.py.

View newest version in sPHENIX GitHub at line 107 of file pump.py

def pump.Cursor.__le__ (   self,
  rhs 
)

Definition at line 104 of file pump.py.

View newest version in sPHENIX GitHub at line 104 of file pump.py

def pump.Cursor.__lt__ (   self,
  rhs 
)
def pump.Cursor.__ne__ (   self,
  rhs 
)

Definition at line 97 of file pump.py.

View newest version in sPHENIX GitHub at line 97 of file pump.py

def pump.Cursor.__str__ (   self)

Definition at line 113 of file pump.py.

View newest version in sPHENIX GitHub at line 113 of file pump.py

References G4RootScintillatorTower.column, G4RootScintillatorSlat.column, pump.Cursor.column, pump.Eof(), pump.Cursor.line, testing::internal::CodeLocation.line, and testing::internal::AssertHelper::AssertHelperData.line.

+ Here is the call graph for this function:

def pump.Cursor.__sub__ (   self,
  offset 
)
def pump.Cursor.Clone (   self)
Returns a copy of self.

Definition at line 125 of file pump.py.

View newest version in sPHENIX GitHub at line 125 of file pump.py

References G4RootScintillatorTower.column, G4RootScintillatorSlat.column, pump.Cursor.column, pump.Cursor.line, testing::internal::CodeLocation.line, and testing::internal::AssertHelper::AssertHelperData.line.

Member Data Documentation

pump.Cursor.column

Definition at line 92 of file pump.py.

View newest version in sPHENIX GitHub at line 92 of file pump.py

Referenced by pump.Cursor.__add__(), pump.Cursor.__eq__(), pump.Cursor.__lt__(), pump.Cursor.__str__(), pump.Cursor.__sub__(), and pump.Cursor.Clone().

pump.Cursor.line

Definition at line 91 of file pump.py.

View newest version in sPHENIX GitHub at line 91 of file pump.py

Referenced by pump.Cursor.__add__(), item.Item.__eq__(), pump.Cursor.__eq__(), item.Item.__hash__(), pump.Cursor.__lt__(), pump.Cursor.__str__(), pump.Cursor.__sub__(), and pump.Cursor.Clone().


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