|
Gaudi Framework, version v22r2 |
| Home | Generated: Tue May 10 2011 |


Public Member Functions | |
| def | __init__ |
| constructor | |
| def | getProperties |
| def | getProperty |
Python-image of C++ class IJobOptionsSvc
Definition at line 572 of file Bindings.py.
| def GaudiPython::Bindings::iJobOptSvc::__init__ | ( | self, | |
| name, | |||
| svc | |||
| ) |
constructor
constructor
Reimplemented from GaudiPython::Bindings::iService.
Definition at line 577 of file Bindings.py.
| def GaudiPython::Bindings::iJobOptSvc::getProperties | ( | self, | |
| component | |||
| ) |
Extract *ALL* properties of the given component Usage : >>> jos = gaudi.optSvc() >>> props = jos.getProperties( 'Name' )
Definition at line 581 of file Bindings.py.
00582 : 00583 """ 00584 Extract *ALL* properties of the given component 00585 Usage : 00586 >>> jos = gaudi.optSvc() 00587 >>> props = jos.getProperties( 'Name' ) 00588 """ 00589 props = self._optsvc.getProperties( component ) 00590 prps = {} 00591 if not props : return prps # RETURN 00592 for p in props : 00593 prop = p.name().upper() 00594 try : 00595 value = eval( p.value() , {} , {} ) 00596 except: value = p.value() 00597 prps [ prop ] = value 00598 return prps # RETURN
| def GaudiPython::Bindings::iJobOptSvc::getProperty | ( | self, | |
| component, | |||
| name | |||
| ) |
Get a certain property of the certain component Usage: >>> jos = ... >>> extServices = jos.getProperty( 'ApplicationMgr', 'ExtSvc' )
Definition at line 599 of file Bindings.py.
00600 : 00601 """ 00602 Get a certain property of the certain component 00603 Usage: 00604 >>> jos = ... 00605 >>> extServices = jos.getProperty( 'ApplicationMgr', 'ExtSvc' ) 00606 """ 00607 ## get all properties of the component 00608 all = self.getProperties ( component ) 00609 return all.get( name.upper() , None ) # RETURN 00610 #----iEventSelector class------------------------------------------------------------------