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_,
50 if (pdesc.transient()) {
51 if (!
checkDictionary(missingDictionaries, pdesc.wrappedName(), pdesc.wrappedType())) {
55 producedTypes.emplace_back(pdesc.className());
61 producedTypes.emplace_back(pdesc.className());
69 if (!missingDictionaries.empty()) {
70 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
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)
void insertBranchAlias(std::string const &alias)