The Gaudi Framework  master (181af51f)
Loading...
Searching...
No Matches
RenounceToolInputsVisitor.cpp
Go to the documentation of this file.
1/***********************************************************************************\
2* (c) Copyright 1998-2024 CERN for the benefit of the LHCb and ATLAS collaborations *
3* *
4* This software is distributed under the terms of the Apache version 2 licence, *
5* copied verbatim in the file "LICENSE". *
6* *
7* In applying this licence, CERN does not waive the privileges and immunities *
8* granted to it by virtue of its status as an Intergovernmental Organization *
9* or submit itself to any jurisdiction. *
10\***********************************************************************************/
14
16 IDataHandleHolder* dh_holder = dynamic_cast<IDataHandleHolder*>( alg_tool );
17 if ( dh_holder ) {
18 for ( const DataObjID& id : m_renounceKeys ) {
19 if ( dh_holder->renounceInput( id ) ) { m_logger->renounce( alg_tool->name(), id.key() ); }
20 }
21 }
22}
The interface implemented by the AlgTool base class.
Definition IAlgTool.h:29
virtual bool renounceInput(const DataObjID &)=0
virtual const std::string & name() const =0
Retrieve the name of the instance.
std::vector< DataObjID > m_renounceKeys