CMS 3D CMS Logo

parseConfig::_DictCopyAdapter Class Reference

List of all members.

Public Member Functions

def __getattr__
def __init__

Public Attributes

 d


Detailed Description

Definition at line 70 of file parseConfig.py.


Member Function Documentation

def parseConfig::_DictCopyAdapter::__getattr__ (   self,
  name 
)

Definition at line 78 of file parseConfig.py.

00078                               :
00079         #print 'asked for '+name
00080         return self.d[name]
00081 
00082 
00083 #setup a factory to open the file, we can redirect this for testing
class _IncludeFile(file):

def parseConfig::_DictCopyAdapter::__init__ (   self,
  d 
)

Definition at line 71 of file parseConfig.py.

00071                         :
00072         #copy 'd' since we need to be able to lookup a 'source' by
00073         # it's type to do replace but we do NOT want to add it by its
00074         # type to the final Process
00075         self.d = d.copy()
00076         if self.d.has_key('source'):
00077             self.d[d['source'].type_()]=d['source']
    def __getattr__(self,name):


Member Data Documentation

parseConfig::_DictCopyAdapter::d

Definition at line 75 of file parseConfig.py.


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:49:27 2009 for CMSSW by  doxygen 1.5.4