CMS 3D CMS Logo

Public Member Functions | Public Attributes

electronStore::flushfile Class Reference

List of all members.

Public Member Functions

def __init__
def write

Public Attributes

 f

Detailed Description

Definition at line 46 of file electronStore.py.


Constructor & Destructor Documentation

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

Definition at line 47 of file electronStore.py.

00048                       :
    self.f = f

Member Function Documentation

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

Definition at line 49 of file electronStore.py.

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


Member Data Documentation

Definition at line 47 of file electronStore.py.