| # Gaudi Framework, version v22r0 |

Home |  | Generated: 9 Feb 2011

# 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.

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

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

Definition at line 543 of file Bindings.py.

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

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

Definition at line 560 of file Bindings.py.

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

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

Definition at line 567 of file Bindings.py.

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

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

Definition at line 558 of file Bindings.py.

    00559                             :
            return iAlgTool(name, self._retrieve(name,quiet=False))

## 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_v22r0/GaudiPython/python/GaudiPython/Bindings.py

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines