22 template <
typename Signature,
typename Traits_ = Traits::useDefaults>
26 template <
typename Out,
typename... In,
typename Traits_>
47 virtual Out
operator()(
const In&... )
const = 0;
53 template <
typename Signature,
typename Traits_ = Traits::useDefaults>
56 template <
typename... Out,
typename... In,
typename Traits_>
68 [
this](
auto&... ohandle ) {
70 #if defined( __clang__ ) && ( __clang_major__ < 6 ) 72 #pragma clang diagnostic push 73 #pragma clang diagnostic ignored "-Wunused-lambda-capture" 77 [&ohandle...](
auto&&... data ) {
78 #if __cplusplus < 201703L
79 (void)std::initializer_list<int>{
80 ( details::put( ohandle, std::forward<decltype( data )>( data ) ), 0 )...};
87 #if defined( __clang__ ) && ( __clang_major__ < 6 ) 88 #pragma clang diagnostic pop 107 template <
typename Signature,
typename Traits_ = Traits::useDefaults>
110 template <
typename... Out,
typename... In,
typename Traits_>
122 [&](
auto&... ohandle ) {
124 [&ohandle...,
this](
bool passed,
auto&&... data ) {
125 this->setFilterPassed( passed );
126 #if __cplusplus < 201703L
127 (void)std::initializer_list<int>{
128 ( details::put( ohandle, std::forward<decltype( data )>( data ) ), 0 )...};
virtual const std::string & message() const
error message to be printed
Define general base for Gaudi exception.
decltype(auto) constexpr apply(F &&f, Tuple &&t) noexcept(noexcept( detail::apply_impl(std::forward< F >(f), std::forward< Tuple >(t), std::make_index_sequence< std::tuple_size< std::remove_reference_t< Tuple >>::value >{})))
virtual const StatusCode & code() const
StatusCode for Exception.
This class is used for returning status codes from appropriate routines.
static auto apply(const Algorithm &algo, Handles &handles)
constexpr static const auto SUCCESS
std::vector< InputHandle_t< In > > m_inputs
virtual Out operator()(const vector_of_const_< In > &inputs) const =0
struct[[deprecated("use MergingTransformer instead")]] Traits_
Helper functions to set/get the application return code.
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Out1 * put(DataObjectHandle< Out1 > &out_handle, Out2 &&out)