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 "/cvmfs/nova.opensciencegrid.org/externals/art/v2_13_00/source/art/Utilities/detail/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 23 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 24 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 27 of file tool_type.h.

References cet::BasicPluginFactory::makePlugin().

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

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