![]() |
ATLAS Offline Software
|
Helper to scan a tree of components to search for another handle key potentially conflicting with the container key part of a WriteDecorHandleKey
.
More...
Public Member Functions | |
WDHScan (const DataObjID &contHandleKey, const IDataHandleHolder *owner) | |
Constructor. More... | |
virtual void | visit (const IDataHandleHolder *h) override |
Called for each component in the tree. More... | |
Public Attributes | |
const DataObjID & | m_contHandleKey |
The key we're searching for. More... | |
const IDataHandleHolder * | m_owner |
Stop the search when we reach this component. More... | |
bool | m_found = false |
Did we find the key? More... | |
bool | m_sawOwner = false |
Have we reached m_owner yet? More... | |
Helper to scan a tree of components to search for another handle key potentially conflicting with the container key part of a WriteDecorHandleKey
.
Given a key, a tree of Gaudi components, and one (‘owner’) component within that tree, we search to see if any components occuring in the tree before ‘owner’ have a key that matches the one we're searching for.
Definition at line 81 of file WriteDecorHandleKey.cxx.
|
inline |
Constructor.
contHandleKey | key to search for. |
owner | The ‘owner’ component, at which we stop the search. |
Definition at line 90 of file WriteDecorHandleKey.cxx.
|
overridevirtual |
Called for each component in the tree.
H | Component to visit. |
Definition at line 117 of file WriteDecorHandleKey.cxx.
const DataObjID& SG::detail::WDHScan::m_contHandleKey |
The key we're searching for.
Definition at line 100 of file WriteDecorHandleKey.cxx.
bool SG::detail::WDHScan::m_found = false |
Did we find the key?
Definition at line 106 of file WriteDecorHandleKey.cxx.
const IDataHandleHolder* SG::detail::WDHScan::m_owner |
Stop the search when we reach this component.
Definition at line 103 of file WriteDecorHandleKey.cxx.
bool SG::detail::WDHScan::m_sawOwner = false |
Have we reached m_owner yet?
Definition at line 109 of file WriteDecorHandleKey.cxx.