Gaudi Framework, version v25r1

Home   Generated: Mon Mar 24 2014
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
GaudiPython.Bindings.iJobOptSvc Class Reference
Inheritance diagram for GaudiPython.Bindings.iJobOptSvc:
Inheritance graph
[legend]
Collaboration diagram for GaudiPython.Bindings.iJobOptSvc:
Collaboration graph
[legend]

Public Member Functions

def __init__
 constructor
 
def getProperties
 
def getProperty
 
- Public Member Functions inherited from GaudiPython.Bindings.iService
def __init__
 
def retrieveInterface
 
def isValid
 
- Public Member Functions inherited from GaudiPython.Bindings.iProperty
def __init__
 
def getInterface
 
def retrieveInterface
 
def __call_interface_method__
 
def __setattr__
 
def __getattr__
 
def properties
 
def name
 

Additional Inherited Members

- Static Public Attributes inherited from GaudiPython.Bindings.iService
tuple initialize lambdaself:self.__call_interface_method__("_isvc","initialize")
 
tuple start lambdaself:self.__call_interface_method__("_isvc","start")
 
tuple stop lambdaself:self.__call_interface_method__("_isvc","stop")
 
tuple finalize lambdaself:self.__call_interface_method__("_isvc","finalize")
 
tuple reinitialize lambdaself:self.__call_interface_method__("_isvc","reinitialize")
 
tuple restart lambdaself:self.__call_interface_method__("_isvc","restart")
 

Detailed Description

Python-image of C++ class IJobOptionsSvc

Definition at line 600 of file Bindings.py.

Constructor & Destructor Documentation

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

constructor

constructor 

Definition at line 605 of file Bindings.py.

606  def __init__( self , name , svc ) :
607  """ constructor """
608  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 609 of file Bindings.py.

610  def getProperties( self , component ) :
611  """
612  Extract *ALL* properties of the given component
613  Usage :
614  >>> jos = gaudi.optSvc()
615  >>> props = jos.getProperties( 'Name' )
616  """
617  props = self._optsvc.getProperties( component )
618  prps = {}
619  if not props : return prps # RETURN
620  for p in props :
621  prop = p.name().upper()
622  try :
623  value = eval( p.value() , {} , {} )
624  except: value = p.value()
625  prps [ prop ] = value
626 
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 627 of file Bindings.py.

628  def getProperty ( self , component , name ) :
629  """
630  Get a certain property of the certain component
631  Usage:
632  >>> jos = ...
633  >>> extServices = jos.getProperty( 'ApplicationMgr', 'ExtSvc' )
634  """
635  ## get all properties of the component
636  all = self.getProperties ( component )
637  return all.get( name.upper() , None ) # RETURN
638 
#----iEventSelector class------------------------------------------------------------------

The documentation for this class was generated from the following file:
Generated at Mon Mar 24 2014 18:27:53 for Gaudi Framework, version v25r1 by Doxygen version 1.8.2 written by Dimitri van Heesch, © 1997-2004