Gaudi Framework, version v23r0

Home   Generated: Mon Jan 30 2012
Public Member Functions

GaudiPython::Bindings::iJobOptSvc Class Reference

Inheritance diagram for GaudiPython::Bindings::iJobOptSvc:
Inheritance graph
[legend]
Collaboration diagram for GaudiPython::Bindings::iJobOptSvc:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
 constructor
def getProperties
def getProperty

Detailed Description

Python-image of C++ class IJobOptionsSvc

Definition at line 573 of file Bindings.py.


Constructor & Destructor Documentation

def GaudiPython::Bindings::iJobOptSvc::__init__ (   self,
  name,
  svc 
)

constructor

constructor 

Reimplemented from GaudiPython::Bindings::iService.

Definition at line 578 of file Bindings.py.

00579                                       :
00580         """ constructor """
00581         self.__dict__['_optsvc'] = InterfaceCast(gbl.IJobOptionsSvc)(svc)
        return iService.__init__( self , name , svc )

Member Function Documentation

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 582 of file Bindings.py.

00583                                           :
00584         """
00585         Extract *ALL* properties of the given component
00586         Usage :
00587         >>> jos   = gaudi.optSvc()
00588         >>> props = jos.getProperties( 'Name' )
00589         """
00590         props = self._optsvc.getProperties( component )
00591         prps = {}
00592         if not props : return  prps              # RETURN
00593         for p in props :
00594             prop  = p.name().upper()
00595             try :
00596                 value = eval( p.value() , {} , {} )
00597             except: value = p.value()
00598             prps [ prop ] = value
00599 
        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 600 of file Bindings.py.

00601                                                 :
00602         """
00603         Get a certain property of the certain component
00604         Usage:
00605         >>> jos  = ...
00606         >>> extServices = jos.getProperty( 'ApplicationMgr', 'ExtSvc' )
00607         """
00608         ## get all properties of the component
00609         all = self.getProperties ( component )
00610         return all.get( name.upper() , None )     # RETURN
00611 
#----iEventSelector class------------------------------------------------------------------

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated at Mon Jan 30 2012 13:53:34 for Gaudi Framework, version v23r0 by Doxygen version 1.7.2 written by Dimitri van Heesch, © 1997-2004