CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
electronStore.flushfile Class Reference
Inheritance diagram for electronStore.flushfile:

Public Member Functions

def __init__ (self, f)
 
def write (self, x)
 

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.

47  def __init__(self,f):
48  self.f = f

Member Function Documentation

def electronStore.flushfile.write (   self,
  x 
)

Definition at line 49 of file electronStore.py.

References cmsRelvalreport.exit, join(), and electronStore.mysystem().

Referenced by pkg.AbstractPkg.generate().

49  def write(self,x):
50  self.f.write(x)
51  self.f.flush()
52 
53 sys.stdout = flushfile(sys.stdout)
54 
55 
56 #===================================================================
57 # when called as an independant executable
58 #===================================================================
59 

Member Data Documentation

electronStore.flushfile.f