3 #include "boost/tokenizer.hpp" 23 r = m_f( h->objKey() );
24 if ( r != h->objKey() ) h->updateKey( r );
27 r = m_f( h->objKey() );
28 if ( r != h->objKey() ) h->updateKey( r );
53 : location.
empty() || ( location ==
"/Event" )
55 : location.compare( 0, 7,
"/Event/" ) == 0
57 : location.compare( 0, 1,
"/" ) == 0 ?
std::string{rit}.
append( location.substr( 1 ) )
62 if ( !rootName.
empty() &&
'/' != rootName.
back() ) rootName +=
"/";
63 return std::make_unique<DHHFixer>( [rit, rootName =
std::move( rootName ), dbg]( std::string_view
location ) {
64 auto tokens = boost::tokenizer<boost::char_separator<char>>{
location, boost::char_separator<char>{
":"}};
69 if ( r[0] !=
'/' ) r = rootName + r;
70 return s.
empty() ? r : s +
':' + r;
Definition of the MsgStream class used to transmit messages.
virtual std::vector< Gaudi::DataHandle * > inputHandles() const =0
virtual std::vector< Gaudi::DataHandle * > outputHandles() const =0
virtual void visit(const IDataHandleHolder *)=0
std::string fullTESLocation(std::string_view location, std::string_view rit)
std::unique_ptr< IDataHandleVisitor > fixDataHandlePath(std::string_view rit, std::string rootName, MsgStream *dbg)
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.