CMS 3D CMS Logo

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

Public Member Functions

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

Public Attributes

 f
 

Detailed Description

Definition at line 45 of file electronCompare.py.

Constructor & Destructor Documentation

def electronCompare.flushfile.__init__ (   self,
  f 
)

Definition at line 46 of file electronCompare.py.

Member Function Documentation

def electronCompare.flushfile.write (   self,
  x 
)

Definition at line 48 of file electronCompare.py.

References cmsRelvalreport.exit, electronCompare.mysystem(), and edm.print().

Referenced by pkg.AbstractPkg.generate().

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

Member Data Documentation

electronCompare.flushfile.f