CMS 3D CMS Logo

Mixins Namespace Reference


Classes

class  _ConfigureComponent
class  _Labelable
class  _Parameterizable
class  _ParameterTypeBase
class  _SimpleParameterTypeBase
class  _TypedParameterizable
class  _Unlabelable
class  _ValidatingListBase
class  _ValidatingParameterListBase
class  PrintOptions
class  TestList
class  testMixins
class  UsingBlock

Functions

def saveOrigin


Function Documentation

def Mixins::saveOrigin (   obj,
  level 
)

Definition at line 526 of file Mixins.py.

00526                           :
00527     frame = inspect.stack()[level+1]
00528     filename = str(frame[1])
00529     lineNumber = int(frame[2])
00530     obj._lineNumber = lineNumber 
00531     obj._filename = filename # the full name
00532     try:
00533         obj._shortFilename = filename.split('python/')[1] #only the part below
00534     except:
00535         obj._shortFilename = filename
00536                                     
00537 
if __name__ == "__main__":


Generated on Tue Jun 9 18:49:01 2009 for CMSSW by  doxygen 1.5.4