18 namespace Functional {
20 template <
typename Signature,
typename Traits_ = Traits::useDefaults>
24 template <
typename Out,
typename... In,
typename Traits_>
43 virtual Out
operator()(
const In&... )
const = 0;
49 template <
typename Signature,
typename Traits_ = Traits::useDefaults>
52 template <
typename... Out,
typename... In,
typename Traits_>
62 [
this](
auto&... ohandle ) {
64 #if defined( __clang__ ) && ( __clang_major__ < 6 ) 66 # pragma clang diagnostic push 67 # pragma clang diagnostic ignored "-Wunused-lambda-capture" 70 [&ohandle...](
auto&&... data ) {
71 #if __cplusplus < 201703L
72 (void)std::initializer_list<int>{
73 ( details::put( ohandle, std::forward<decltype( data )>( data ) ), 0 )...};
80 #if defined( __clang__ ) && ( __clang_major__ < 6 ) 81 # pragma clang diagnostic pop 99 template <
typename Signature,
typename Traits_ = Traits::useDefaults>
102 template <
typename... Out,
typename... In,
typename Traits_>
112 [&](
auto&... ohandle ) {
114 [&ohandle...,
this](
bool passed,
auto&&... data ) {
115 this->setFilterPassed( passed );
116 #if __cplusplus < 201703L
117 (void)std::initializer_list<int>{
118 ( 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.
constexpr static const auto SUCCESS
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 >{})))
typename filter_evtcontext_t< In... >::type filter_evtcontext
virtual const StatusCode & code() const
StatusCode for Exception.
class MergingTransformer< Out(const vector_of_const_< In > Traits_
This class is used for returning status codes from appropriate routines.
static auto apply(const Algorithm &algo, Handles &handles)
std::vector< InputHandle_t< In > > m_inputs
virtual Out operator()(const vector_of_const_< In > &inputs) const =0
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)