| # Gaudi Framework, version v23r1 |

Home |  | Generated: Wed Feb 29 2012

Public Member Functions | Public Attributes | Private Member Functions

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

## Constructor & Destructor Documentation

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

Reimplemented from GaudiPython::Bindings::iService.

Definition at line 541 of file Bindings.py.

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

## Member Function Documentation

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

Definition at line 544 of file Bindings.py.

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

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

Definition at line 561 of file Bindings.py.

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

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

Definition at line 568 of file Bindings.py.

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

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

Definition at line 559 of file Bindings.py.

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

## Member Data Documentation

GaudiPython::Bindings::iToolSvc::OutputLevel

Definition at line 544 of file Bindings.py.

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

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

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