CMS 3D CMS Logo

parseConfig::_DictAdapter Class Reference

List of all members.

Public Member Functions

def __getattr__
def __init__
def __setattr__


Detailed Description

Definition at line 55 of file parseConfig.py.


Member Function Documentation

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

Definition at line 66 of file parseConfig.py.

00066                               :
00067         #print 'asked for '+name
00068         return self.d[name]
00069 
class _DictCopyAdapter(object):

def parseConfig::_DictAdapter::__init__ (   self,
  d,
  addSource = False 
)

Lets a dictionary be looked up by attributes

Definition at line 56 of file parseConfig.py.

00056                                          :
00057         """Lets a dictionary be looked up by attributes"""
00058         #copy 'd' since we need to be able to lookup a 'source' by
00059         # it's type to do replace but we do NOT want to add it by its
00060         # type to the final Process
00061         self.__dict__['d'] = d
00062         if addSource and self.d.has_key('source'):
00063             self.d[d['source'].type_()]=d['source']
    def __setattr__(self,name,value):

def parseConfig::_DictAdapter::__setattr__ (   self,
  name,
  value 
)

Definition at line 64 of file parseConfig.py.

00064                                     :
00065         self.d[name]=value
    def __getattr__(self,name):


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