| # Gaudi Framework, version v21r10p1 |

Home |  | Generated: 29 Jul 2010

# GaudiPython::Bindings::iToolSvc Class Reference

Inheritance diagram for GaudiPython::Bindings::iToolSvc:

[legend]
Collaboration diagram for GaudiPython::Bindings::iToolSvc:

[legend]

List of all members.

## Public Member Functions
def | __init__
def | retrieve
def | create
def | release
## Public Attributes
| OutputLevel
## Private Member Functions
def | _retrieve

## Detailed Description

Definition at line 539 of file Bindings.py.

## Member Function Documentation

def GaudiPython::Bindings::iToolSvc::__init__ | ( |  | self,
|  |  | name,
|  |  | its |
| ) |  |  |

Reimplemented from GaudiPython::Bindings::iService.

Definition at line 540 of file Bindings.py.

    00540                                   :
    00541         self.__dict__['_its'] = InterfaceCast(gbl.IToolSvc)(its)
    00542         iService.__init__(self, name, its)
        def _retrieve(self, name, quiet=True):

def GaudiPython::Bindings::iToolSvc::_retrieve | ( |  | self,
|  |  | name,
|  |  | quiet = `True` |
| ) |  |  | `[private]`

Definition at line 543 of file Bindings.py.

    00543                                          :
    00544         sol = _gaudi.OutputLevel
    00545         if quiet : self.OutputLevel = 6
    00546         if name.rfind('.') == -1 :
    00547             itool = Helper.tool(self._its, '', name, None, False )
    00548         elif name[0:8] == 'ToolSvc.' :
    00549             itool = Helper.tool(self._its, '', name[8:], None, False )
    00550         elif name.count('.') > 1 :
    00551             ptool = self._retrieve(name[:name.rfind('.')])
    00552             itool = Helper.tool(self._its, '', name[name.rfind('.')+1:], ptool, False )
    00553         elif _gaudi :
    00554             prop = _gaudi.property(name[:name.rfind('.')])
    00555             itool = Helper.tool(self._its, '', name[name.rfind('.')+1:], prop._ip, False )
    00556         if quiet : self.OutputLevel = sol
    00557         return itool
        def retrieve(self, name):

def GaudiPython::Bindings::iToolSvc::retrieve | ( |  | self,
|  |  | name |
| ) |  |  |

Definition at line 558 of file Bindings.py.

    00558                             :
    00559         return iAlgTool(name, self._retrieve(name,quiet=False))
        def create(self, typ, name=None, parent=None, interface=None) :

def GaudiPython::Bindings::iToolSvc::create | ( |  | self,
|  |  | typ,
|  |  | name = `None`,
|  |  | parent = `None`,
|  |  | interface = `None` |
| ) |  |  |

Definition at line 560 of file Bindings.py.

    00560                                                                   :
    00561         if not name : name = typ
    00562         itool = Helper.tool(self._its, typ, name, parent, True )
    00563         if interface :
    00564             return InterfaceCast(interface)(itool)
    00565         else :
    00566             return iAlgTool(name,itool)
        def release(self, itool) :

def GaudiPython::Bindings::iToolSvc::release | ( |  | self,
|  |  | itool |
| ) |  |  |

Definition at line 567 of file Bindings.py.

    00567                              :
    00568         if type(itool) is iAlgTool :
    00569             self._its.releaseTool(itool._itool)
    00570
    00571 #----iJopOptSvc class-------------------------------------------------------------------
    class iJobOptSvc(iService) :

## Member Data Documentation

GaudiPython::Bindings::iToolSvc::OutputLevel

Definition at line 545 of file Bindings.py.

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v21r10p1/GaudiPython/python/GaudiPython/Bindings.py