Namespaces | Typedefs | Functions
make_tool.h File Reference
#include "art/Utilities/PluginSuffixes.h"
#include "art/Utilities/detail/tool_type.h"
#include "canvas/Utilities/Exception.h"
#include "cetlib/BasicPluginFactory.h"
#include "cetlib/detail/wrapLibraryManagerException.h"
#include "fhiclcpp/ParameterSet.h"

Go to the source code of this file.

Namespaces

 art
 

Typedefs

template<typename T >
using art::tool_return_type = typename detail::tool_type< T >::return_type
 

Functions

template<typename T >
std::enable_if_t< std::is_class< T >::value, tool_return_type< T > > art::make_tool (fhicl::ParameterSet const &pset)
 
template<typename T >
std::enable_if_t< std::is_function< T >::value, tool_return_type< T > > art::make_tool (fhicl::ParameterSet const &pset, std::string const &function_tool_type)
 
template<typename T , typename TableConfig >
tool_return_type< T > art::make_tool (TableConfig const &tc, std::string const &function_tool_type)