63 {
64
65 {
67 evtSvc()
71 }
72
74
75 std::string origin;
76
77 std::string failure_msg;
80 [&]( IRegistry* reg, int ) {
82
83 if ( origin.empty() ) {
84
86 }
87
89
91 if ( !obj )
95 failure_msg = std::format( "failed to retrieve {} from {}",
97
98
100 } )
101 .ignore();
102
103 all_leaves.push_back( obj );
106 return true;
107 }
108 }
109
110 return false;
111 } )
112 .orThrow( failure_msg,
name() );
113 return all_leaves;
114 }
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Gaudi::Property< std::string > m_dataSvcName
Gaudi::Property< std::string > m_rootNode
virtual StatusCode retrieveObject(IRegistry *pDirectory, std::string_view path, DataObject *&pObject)=0
Retrieve object identified by its directory entry.
std::vector< DataObject * > LeavesList
Returned type.
virtual const std::string * par() const =0
Retrieve String parameters.
virtual const id_type & identifier() const =0
Full identifier (or key).
virtual DataObject * object() const =0
Retrieve object behind the link.
virtual IOpaqueAddress * address() const =0
Retrieve opaque storage address.
virtual IDataProviderSvc * dataSvc() const =0
Retrieve pointer to Transient Store.
StatusCode orElse(F &&f, ARGS &&... args) const
Chain code blocks making the execution conditional a failure result.
constexpr static const auto FAILURE