1 #ifndef FUNCTIONAL_UTILITIES_H 2 #define FUNCTIONAL_UTILITIES_H 4 #include "boost/algorithm/string/join.hpp" 5 #include <initializer_list> 22 return boost::algorithm::join( c,
":" );
25 template <
typename... Strings>
34 if ( sc.isFailure() )
throw GaudiException(
"Could not set Property", prop +
" -> " + newLoc, sc );
42 return os <<
"'" << i <<
"'";
45 if ( sc.isFailure() )
throw GaudiException(
"Could not set Property", prop +
" -> " + ss.
str(), sc );
48 [[deprecated(
"please use updateHandleLocation instead" )]]
inline void 69 template <
typename... Base>
74 template <
typename Base>
79 template <
template <
typename>
class Handle>
85 template <
template <
typename>
class Handle>
Define general base for Gaudi exception.
std::string concat_alternatives(std::initializer_list< std::string > c)
Header file for class GaudiAlgorithm.
void updateHandleLocation(IProperty &parent, const std::string &prop, const std::string &newLoc)
Provide serialization function (output only) for some common STL classes (vectors, lists, pairs, maps) plus GaudiUtils::Map and GaudiUtils::HashMap.
void updateReadHandleLocation(IProperty &parent, const std::string &prop, const std::string &newLoc)
virtual StatusCode setProperty(const Gaudi::Details::PropertyBase &p)=0
Set the property by property.
void updateHandleLocations(IProperty &parent, const std::string &prop, const std::vector< std::string > &newLocs)
Stream & ostream_joiner(Stream &os, Iterator first, Iterator last, Separator sep, OutputElement output=OutputElement{})
The IProperty is the basic interface for all components which have properties that can be set or get...
Helper functions to set/get the application return code.