1 #ifndef SPLITTING_TRANSFORMER_H 2 #define SPLITTING_TRANSFORMER_H 17 template <
typename Signature,
typename Traits_ = Traits::useDefaults>
20 template <
typename Container>
22 template <
typename Container>
26 template <
typename Out,
typename... In,
typename Traits_>
44 static_assert( N == 1,
"single input argument requires single input signature" );
58 if ( out.size() != m_outputs.size() ) {
83 template <
typename Out,
typename... In,
typename Traits_>
87 :
base_class( name, pSvcLocator, inputs ), m_outputLocations( outputs.
second )
94 std::for_each( this->m_outputs.begin(), this->m_outputs.end(), [](
auto& h ) { h.setOptional(
true ); } );
97 p->useUpdateHandler();
virtual const std::string & message() const
error message to be printed
constexpr static const auto FAILURE
Define general base for Gaudi exception.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
class MergingTransformer< Out(const vector_of_const_< In > void
virtual const StatusCode & code() const
StatusCode for Exception.
This class is used for returning status codes from appropriate routines.
Gaudi::Details::PropertyBase * declareProperty(const std::string &name, TYPE &value, const std::string &doc="none")
Declare a property (templated)
static auto apply(const Algorithm &algo, Handles &handles)
details::template vector_of_const_< Container > vector_of_
PropertyBase base class allowing PropertyBase* collections to be "homogeneous".
constexpr static const auto SUCCESS
constexpr std::add_const_t< T > & as_const(T &t) noexcept
std::vector< InputHandle_t< In > > m_inputs
struct GAUDI_API array
Parametrisation class for redirection array - like implementation.
virtual Out operator()(const vector_of_const_< In > &inputs) const =0
Gaudi::cpp17::detected_or_t< DataObjectWriteHandle< T >, detail2::OutputHandle_t, Tr, T > OutputHandle_t
struct[[deprecated("use MergingTransformer instead")]] Traits_
Handles make_vector_of_handles(IDataHandleHolder *owner, const std::vector< std::string > &init)
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)