Gaudi Framework, version v21r9

Home   Generated: 3 May 2010

AlgContextAuditor.cpp File Reference

Implementation file for class AlgContexAuditor. More...

#include <cassert>
#include "GaudiKernel/IAlgContextSvc.h"
#include "GaudiKernel/IAlgorithm.h"
#include "GaudiKernel/AudFactory.h"
#include "GaudiKernel/SmartIF.h"
#include "GaudiKernel/MsgStream.h"
#include "AlgContextAuditor.h"

Include dependency graph for AlgContextAuditor.cpp:

Go to the source code of this file.

Functions

IAlgorithmtoAlg (IInterface *ni)
 make a safe cast using "smart interface"


Detailed Description

Implementation file for class AlgContexAuditor.

Author:
M. Shapiro, LBNL

modified by Vanya BELYAEV ibelyaev@physics.syr.edu

Definition in file AlgContextAuditor.cpp.


Function Documentation

IAlgorithm* @86::toAlg ( IInterface ni  )  [inline, static]

make a safe cast using "smart interface"

See also:
INamedInterface

IAlgorithm

SmartIF

IInterface::queryInterface

Parameters:
i pointer to INamedInterface
Returns:
pointer to IAlgorithm

Definition at line 57 of file AlgContextAuditor.cpp.

00058   {
00059     if ( 0 == ni ) { return 0 ; }
00060     SmartIF<IAlgorithm> alg ( ni ) ;
00061     return alg ;
00062   }


Generated at Mon May 3 12:15:50 2010 for Gaudi Framework, version v21r9 by Doxygen version 1.5.6 written by Dimitri van Heesch, © 1997-2004