23 TypeLabelList::const_iterator
const& iEnd,
28 std::vector<std::string> missingDictionaries;
29 std::vector<std::string> producedTypes;
31 for(TypeLabelList::const_iterator
p = iBegin;
p != iEnd; ++
p) {
35 producedTypes.emplace_back(
p->typeID_.className());
43 p->typeID_.userClassName(),
44 p->typeID_.friendlyClassName(),
45 p->productInstanceName_,
52 if (pdesc.transient()) {
53 if (!
checkDictionary(missingDictionaries, pdesc.wrappedName(), pdesc.wrappedType())) {
57 producedTypes.emplace_back(pdesc.className());
63 producedTypes.emplace_back(pdesc.className());
71 if (!missingDictionaries.empty()) {
72 std::string context(
"Calling ProductRegistryHelper::addToRegistry, checking dictionaries for produced types");
std::list< TypeLabelItem > TypeLabelList
void throwMissingDictionariesException(std::vector< std::string > &missingDictionaries, std::string const &context)
std::string const & processName() const
TypeLabelList typeLabelList_
std::string const & moduleName() const
std::string const & moduleLabel() const
constexpr bool isEndTransition(Transition iValue)
TypeLabelList & typeLabelList()
used by the fwk to register the list of products of this module
bool checkDictionary(std::vector< std::string > &missingDictionaries, TypeID const &typeID)
bool checkClassDictionaries(std::vector< std::string > &missingDictionaries, TypeID const &typeID)
ParameterSetID const & parameterSetID() const
bool checkDictionaryOfWrappedType(std::vector< std::string > &missingDictionaries, TypeID const &unwrappedTypeID)
static void addToRegistry(TypeLabelList::const_iterator const &iBegin, TypeLabelList::const_iterator const &iEnd, ModuleDescription const &iDesc, ProductRegistry &iReg, bool iIsListener=false)
void addProduct(BranchDescription const &productdesc, bool iFromListener=false)
constexpr BranchType convertToBranchType(Transition iValue)
void insertBranchAlias(std::string const &alias)