20 #include <unordered_set>
23 template <
typename Container>
25 std::vector<Gaudi::DataHandle*>
h;
50 if ( handle.
owner() !=
this ) {
54 m_handles.insert( &handle );
58 if ( handle.
owner() !=
this ) {
61 m_handles.erase( &handle );
65 bool renounced =
false;
67 for (
auto i = m_handles.begin(), last = m_handles.end(); i != last; ) {
69 i = m_handles.erase( i );
75 if (
auto elm = m_inputDataObjs.find(
id ); elm != m_inputDataObjs.end() ) {
76 m_inputDataObjs.erase( elm );
94 for (
auto h : m_handles )
h->init();