Gaudi Framework, version v20r2

Generated: 18 Jul 2008

GaudiPython::AlgDecorator Class Reference

#include <AlgDecorators.h>

List of all members.


Detailed Description

Definition at line 44 of file AlgDecorators.h.

Static Public Member Functions

static IAlgTooltool_ (const GaudiAlgorithm *alg, const std::string &type, const std::string &name, const IInterface *parent=0, const bool create=true)
 get the tool from GaudiAlgorithm
static IAlgTooltool_ (const GaudiAlgorithm *alg, const std::string &typeAndName, const IInterface *parent=0, const bool create=true)
 get the tool from GaudiAlgorithm
static IInterfacesvc_ (const GaudiAlgorithm *alg, const std::string &name, const bool create=false)
 get the service from GaudiAlgorithm


Member Function Documentation

IAlgTool * GaudiPython::AlgDecorator::tool_ ( const GaudiAlgorithm alg,
const std::string type,
const std::string name,
const IInterface parent = 0,
const bool  create = true 
) [static]

get the tool from GaudiAlgorithm

Parameters:
alg GaudiAlgorithm
type tool type
name tool name
parent tool parent
create flag to create
Returns:
the tool

Definition at line 36 of file AlgDecorators.cpp.

References name.

00041 {
00042   if ( 0 == alg ) { return 0 ; }
00043   return alg -> tool<IAlgTool> ( type , name , parent , create ) ;
00044 };

IAlgTool * GaudiPython::AlgDecorator::tool_ ( const GaudiAlgorithm alg,
const std::string typeAndName,
const IInterface parent = 0,
const bool  create = true 
) [static]

get the tool from GaudiAlgorithm

Parameters:
alg GaudiAlgorithm
typeAndName tool type/name
parent tool parent
create flag to create
Returns:
the tool

Definition at line 57 of file AlgDecorators.cpp.

References GaudiCommon< PBASE >::tool().

00061 {
00062   if ( 0 == alg ) { return 0 ; }
00063   return alg->tool<IAlgTool>( typeAndName , parent , create ) ;
00064 };

IInterface * GaudiPython::AlgDecorator::svc_ ( const GaudiAlgorithm alg,
const std::string name,
const bool  create = false 
) [static]

get the service from GaudiAlgorithm

Parameters:
alg GaudiAlgorithm
name service name
create flag to create
Returns:
the tool

Definition at line 76 of file AlgDecorators.cpp.

References name.

00079 {
00080   if ( 0 == alg ) { return 0 ; }
00081   return alg -> svc<IInterface> ( name , create ) ;
00082 };


The documentation for this class was generated from the following files:
Generated at Fri Jul 18 12:10:31 2008 for Gaudi Framework, version v20r2 by Doxygen version 1.5.1 written by Dimitri van Heesch, © 1997-2004