|
Gaudi Framework, version v21r8 |
| Home | Generated: 17 Mar 2010 |
#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"

Go to the source code of this file.
Functions | |
| IAlgorithm * | toAlg (IInterface *ni) |
| make a safe cast using "smart interface" | |
Definition in file AlgContextAuditor.cpp.
| IAlgorithm* @86::toAlg | ( | IInterface * | ni | ) | [inline, static] |
make a safe cast using "smart interface"
| i | pointer to INamedInterface |
Definition at line 57 of file AlgContextAuditor.cpp.
00058 { 00059 if ( 0 == ni ) { return 0 ; } 00060 SmartIF<IAlgorithm> alg ( ni ) ; 00061 return alg ; 00062 }