ATLAS Offline Software
Loading...
Searching...
No Matches
python.CfgMgr.ModuleFacade Class Reference
Inheritance diagram for python.CfgMgr.ModuleFacade:
Collaboration diagram for python.CfgMgr.ModuleFacade:

Public Member Functions

 __init__ (self, module)
 __getattr__ (self, k)

Detailed Description

a helper class to allow easy retrieval of automatically generated
configurables (stolen from PyRoot)

Definition at line 20 of file CfgMgr.py.

Constructor & Destructor Documentation

◆ __init__()

python.CfgMgr.ModuleFacade.__init__ ( self,
module )

Definition at line 24 of file CfgMgr.py.

24 def __init__( self, module ):
25 types.ModuleType.__init__( self, __name__ )
26
27 self.__dict__[ '__doc__' ] = module.__doc__
28 self.__dict__[ '__name__' ] = module.__name__
29
30 from AthenaCommon.ConfigurableDb import getConfigurable
31 self.__dict__[ 'getConfigurable' ] = getConfigurable
32

Member Function Documentation

◆ __getattr__()

python.CfgMgr.ModuleFacade.__getattr__ ( self,
k )

Definition at line 33 of file CfgMgr.py.

33 def __getattr__(self, k):
34 if not k.startswith( '__' ):
35 return self.getConfigurable( k, assumeCxxClass = False )
36
37 return super( types.ModuleType, self ).__getattr__( self, k )
38

The documentation for this class was generated from the following file: