CMS 3D CMS Logo

Public Member Functions | Public Attributes

electronCompare::flushfile Class Reference

List of all members.

Public Member Functions

def __init__
def write

Public Attributes

 f

Detailed Description

Definition at line 44 of file electronCompare.py.


Constructor & Destructor Documentation

def electronCompare::flushfile::__init__ (   self,
  f 
)

Definition at line 45 of file electronCompare.py.

00046                       :
    self.f = f

Member Function Documentation

def electronCompare::flushfile::write (   self,
  x 
)

Definition at line 47 of file electronCompare.py.

00048                    :
00049     self.f.write(x)
00050     self.f.flush()
00051 
00052 sys.stdout = flushfile(sys.stdout)
00053 
00054 
00055 #===================================================================
00056 # when called as an independant executable
00057 #===================================================================


Member Data Documentation

Definition at line 45 of file electronCompare.py.