Classes | Namespaces | Macros
ToolMacros.h File Reference
#include "cetlib/PluginTypeDeducer.h"
#include "cetlib/ProvideFilePathMacro.h"
#include "cetlib/compiler_macros.h"
#include "fhiclcpp/ParameterSet.h"
#include "fhiclcpp/types/AllowedConfigurationMacro.h"
#include "fhiclcpp/types/Atom.h"
#include <memory>
#include <string>
#include <type_traits>

Go to the source code of this file.

Classes

struct  art::detail::ToolConfig
 

Namespaces

 art::detail
 

Macros

#define ART_PROVIDE_ALLOWED_CONFIGURATION_FUNCTION_TOOL()
 
#define DEFINE_ART_CLASS_TOOL(tool)
 
#define DEFINE_ART_FUNCTION_TOOL(tool, type)
 

Macro Definition Documentation

#define ART_PROVIDE_ALLOWED_CONFIGURATION_FUNCTION_TOOL ( )
Value:
std::unique_ptr<fhicl::ConfigurationTable> allowed_configuration( \
std::string const& name) \
{ \
return std::make_unique<fhicl::WrappedTable<art::detail::ToolConfig>>( \
}
static QCString name
Definition: declinfo.cpp:673
std::string string
Definition: nybbler.cc:12
ChannelGroupService::Name Name

Definition at line 33 of file ToolMacros.h.

#define DEFINE_ART_CLASS_TOOL (   tool)
Value:
std::string toolType() { return "class"; } \
makeTool(fhicl::ParameterSet const& pset) \
{ \
return std::make_unique<tool>(pset); \
} \
EXTERN_C_FUNC_DECLARE_END
std::string string
Definition: nybbler.cc:12
#define CET_PROVIDE_FILE_PATH()
#define FHICL_PROVIDE_ALLOWED_CONFIGURATION(klass)

Definition at line 42 of file ToolMacros.h.

#define DEFINE_ART_FUNCTION_TOOL (   tool,
  type 
)
Value:
std::string toolType() { return type; } \
auto toolFunction = tool; \
EXTERN_C_FUNC_DECLARE_END
std::string string
Definition: nybbler.cc:12
#define CET_PROVIDE_FILE_PATH()
static QCString type
Definition: declinfo.cpp:672
#define ART_PROVIDE_ALLOWED_CONFIGURATION_FUNCTION_TOOL()
Definition: ToolMacros.h:33

Definition at line 54 of file ToolMacros.h.