Public Types | Static Public Member Functions | List of all members
art::detail::tool_type< T, std::enable_if_t< std::is_class< T >::value > > Struct Template Reference

#include <tool_type.h>

Public Types

using return_type = std::unique_ptr< T >
 

Static Public Member Functions

static auto make_plugin (cet::BasicPluginFactory &factory, std::string const &libspec, fhicl::ParameterSet const &pset)
 

Detailed Description

template<typename T>
struct art::detail::tool_type< T, std::enable_if_t< std::is_class< T >::value > >

Definition at line 22 of file tool_type.h.

Member Typedef Documentation

template<typename T >
using art::detail::tool_type< T, std::enable_if_t< std::is_class< T >::value > >::return_type = std::unique_ptr<T>

Definition at line 23 of file tool_type.h.

Member Function Documentation

template<typename T >
static auto art::detail::tool_type< T, std::enable_if_t< std::is_class< T >::value > >::make_plugin ( cet::BasicPluginFactory factory,
std::string const &  libspec,
fhicl::ParameterSet const &  pset 
)
inlinestatic

Definition at line 26 of file tool_type.h.

29  {
30  return factory.makePlugin<std::unique_ptr<T>>(libspec, pset);
31  }
std::enable_if_t<!std::is_function_v< RESULT_TYPE >, RESULT_TYPE > makePlugin(std::string const &libspec, ARGS &&...args) const

The documentation for this struct was generated from the following file: