#include <ProductRegistryHelper.h>
Definition at line 39 of file ProductRegistryHelper.h.
art::ProductRegistryHelper::~ProductRegistryHelper |
( |
| ) |
|
|
default |
Definition at line 93 of file ProductRegistryHelper.h.
TypeLabelLookup_t const & expectedProducts(BranchType) const
ProducesCollector collector_
Definition at line 47 of file ProductRegistryHelper.cc.
void fillDescriptions(ModuleDescription const &md)
ProducesCollector collector_
template<typename P , art::BranchType B>
Definition at line 100 of file ProductRegistryHelper.h.
105 "An error occurred while registering a product.\n"}
106 <<
"The following product was registered with 'produces' when\n" 107 "'reconstitutes' should have been called instead.\n" 108 <<
" Branch type: " <<
B <<
'\n' 109 <<
" Class name: " << cet::demangle_symbol(
typeid(
P).
name()) <<
'\n' 110 <<
" Instance name: '" << instanceName <<
"'\n";
std::pair< float, std::string > P
product_creation_mode mode_
void produces(std::string const &instanceName={}, Persistable const persistable=Persistable::Yes)
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
ProducesCollector collector_
void art::ProductRegistryHelper::productList |
( |
std::unique_ptr< ProductList > |
p | ) |
|
|
inline |
template<typename P , BranchType B>
Definition at line 117 of file ProductRegistryHelper.h.
122 "An error occurred while registering a product.\n"}
123 <<
"The following product was registered with 'reconstitutes' when\n" 124 "'produces' should have been called instead.\n" 125 <<
" Branch type: " <<
B <<
'\n' 126 <<
" Class name: " << cet::demangle_symbol(
typeid(
P).
name()) <<
'\n' 127 <<
" Emulated module name: '" << emulatedModule <<
"'\n" 128 <<
" Instance name: '" << instanceName <<
"'\n";
std::pair< float, std::string > P
product_creation_mode mode_
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
TypeLabel const & reconstitutes(std::string const &modLabel, std::string const &instanceName={})
ProducesCollector collector_
Definition at line 23 of file ProductRegistryHelper.cc.
30 back_inserter(productsToRegister),
31 [](
auto const& pr) {
return pr.second; });
36 auto registerProductsPerBT = [
this,
40 productsToRegister.push_back(pr.second);
std::unique_ptr< ProductList const > productList_
auto transform_all(Container &, OutputIt, UnaryOp)
void fillDescriptions(ModuleDescription const &md)
TypeLabelLookup_t const & expectedProducts() const
void for_each_branch_type(F f)
TypeLabelLookup_t const & expectedProducts(BranchType) const
ProducesCollector collector_
std::unique_ptr<ProductList const> art::ProductRegistryHelper::productList_ {nullptr} |
|
private |
The documentation for this class was generated from the following files: