Gaudi Framework, version v23r9

Home   Generated: Thu Jul 18 2013
 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 573 of file Bindings.py.

Constructor & Destructor Documentation

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

constructor

constructor 

Definition at line 578 of file Bindings.py.

579  def __init__( self , name , svc ) :
580  """ constructor """
581  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.

583  def getProperties( self , component ) :
584  """
585  Extract *ALL* properties of the given component
586  Usage :
587  >>> jos = gaudi.optSvc()
588  >>> props = jos.getProperties( 'Name' )
589  """
590  props = self._optsvc.getProperties( component )
591  prps = {}
592  if not props : return prps # RETURN
593  for p in props :
594  prop = p.name().upper()
595  try :
596  value = eval( p.value() , {} , {} )
597  except: value = p.value()
598  prps [ prop ] = value
599 
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.

601  def getProperty ( self , component , name ) :
602  """
603  Get a certain property of the certain component
604  Usage:
605  >>> jos = ...
606  >>> extServices = jos.getProperty( 'ApplicationMgr', 'ExtSvc' )
607  """
608  ## get all properties of the component
609  all = self.getProperties ( component )
610  return all.get( name.upper() , None ) # RETURN
611 
#----iEventSelector class------------------------------------------------------------------

The documentation for this class was generated from the following file:
Generated at Thu Jul 18 2013 12:18:15 for Gaudi Framework, version v23r9 by Doxygen version 1.8.2 written by Dimitri van Heesch, © 1997-2004