#include <ProductRegistry.h>
Classes | |
struct | Transients |
Public Types | |
typedef std::map< BranchKey, BranchDescription const > | ConstProductList |
typedef std::map< BranchKey, BranchDescription > | ProductList |
Public Member Functions | |
void | addLabelAlias (BranchDescription const &productdesc, std::string const &labelAlias, std::string const &instanceAlias) |
void | addProduct (BranchDescription const &productdesc, bool iFromListener=false) |
std::vector< std::pair < std::string, std::string > > const & | aliasToOriginal () const |
std::vector< BranchDescription const * > | allBranchDescriptions () const |
std::vector< std::string > | allBranchNames () const |
bool | anyProductProduced () const |
bool | anyProducts (BranchType const brType) const |
template<typename T > | |
void | callForEachBranch (T const &iFunc) |
void | copyProduct (BranchDescription const &productdesc) |
bool | frozen () const |
ProductHolderIndex const & | getNextIndexValue (BranchType branchType) const |
ProductHolderIndex | indexFrom (BranchID const &iID) const |
void | initializeTransients () |
std::string | merge (ProductRegistry const &other, std::string const &fileName, BranchDescription::MatchMode branchesMustMatch=BranchDescription::Permissive) |
std::vector< TypeID > const & | missingDictionaries () const |
std::vector< TypeID > & | missingDictionariesForUpdate () |
void | print (std::ostream &os) const |
ProductList const & | productList () const |
ProductList & | productListUpdator () |
std::shared_ptr < ProductHolderIndexHelper const > | productLookup (BranchType branchType) const |
std::shared_ptr < ProductHolderIndexHelper > | productLookup (BranchType branchType) |
bool | productProduced (BranchType branchType) const |
ProductRegistry () | |
ProductRegistry (ProductList const &productList, bool toBeFrozen=true) | |
void | setFrozen (bool initializeLookupInfo=true) |
ProductList::size_type | size () const |
void | updateFromInput (ProductList const &other) |
void | updateFromInput (std::vector< BranchDescription > const &other) |
virtual | ~ProductRegistry () |
Private Member Functions | |
virtual void | addCalled (BranchDescription const &, bool iFromListener) |
void | freezeIt (bool frozen=true) |
void | initializeLookupTables () |
ProductHolderIndex & | nextIndexValue (BranchType branchType) |
void | setProductProduced (BranchType branchType) |
void | throwIfFrozen () const |
void | throwIfNotFrozen () const |
Private Attributes | |
ProductList | productList_ |
Transients | transient_ |
author Stefano ARGIRO author Bill Tanenbaum
Definition at line 31 of file ProductRegistry.h.
typedef std::map<BranchKey, BranchDescription const> edm::ProductRegistry::ConstProductList |
Definition at line 45 of file ProductRegistry.h.
typedef std::map<BranchKey, BranchDescription> edm::ProductRegistry::ProductList |
Definition at line 34 of file ProductRegistry.h.
edm::ProductRegistry::ProductRegistry | ( | ) |
Definition at line 30 of file ProductRegistry.cc.
|
explicit |
Definition at line 70 of file ProductRegistry.cc.
|
inlinevirtual |
Definition at line 43 of file ProductRegistry.h.
|
privatevirtual |
Reimplemented in edm::SignallingProductRegistry.
Definition at line 174 of file ProductRegistry.cc.
void edm::ProductRegistry::addLabelAlias | ( | BranchDescription const & | productdesc, |
std::string const & | labelAlias, | ||
std::string const & | instanceAlias | ||
) |
Definition at line 92 of file ProductRegistry.cc.
void edm::ProductRegistry::addProduct | ( | BranchDescription const & | productdesc, |
bool | iFromListener = false |
||
) |
Definition at line 77 of file ProductRegistry.cc.
Referenced by edm::ProductRegistryHelper::addToRegistry().
|
inline |
Definition at line 119 of file ProductRegistry.h.
std::vector< BranchDescription const * > edm::ProductRegistry::allBranchDescriptions | ( | ) | const |
Definition at line 189 of file ProductRegistry.cc.
std::vector< std::string > edm::ProductRegistry::allBranchNames | ( | ) | const |
Definition at line 178 of file ProductRegistry.cc.
|
inline |
Definition at line 109 of file ProductRegistry.h.
bool edm::ProductRegistry::anyProducts | ( | BranchType const | brType | ) | const |
Definition at line 122 of file ProductRegistry.cc.
|
inline |
Definition at line 87 of file ProductRegistry.h.
Referenced by edm::ProducerBase::registerProducts(), edm::stream::EDAnalyzerBase::registerProductsAndCallbacks(), edm::EDAnalyzer::registerProductsAndCallbacks(), and edm::one::EDAnalyzerBase::registerProductsAndCallbacks().
void edm::ProductRegistry::copyProduct | ( | BranchDescription const & | productdesc | ) |
Definition at line 108 of file ProductRegistry.cc.
|
inlineprivate |
Definition at line 166 of file ProductRegistry.h.
|
inline |
Definition at line 127 of file ProductRegistry.h.
ProductHolderIndex const & edm::ProductRegistry::getNextIndexValue | ( | BranchType | branchType | ) | const |
Definition at line 336 of file ProductRegistry.cc.
ProductHolderIndex edm::ProductRegistry::indexFrom | ( | BranchID const & | iID | ) | const |
Definition at line 321 of file ProductRegistry.cc.
|
private |
Definition at line 259 of file ProductRegistry.cc.
|
inline |
Definition at line 125 of file ProductRegistry.h.
std::string edm::ProductRegistry::merge | ( | ProductRegistry const & | other, |
std::string const & | fileName, | ||
BranchDescription::MatchMode | branchesMustMatch = BranchDescription::Permissive |
||
) |
Definition at line 214 of file ProductRegistry.cc.
|
inline |
Definition at line 111 of file ProductRegistry.h.
|
inline |
Definition at line 115 of file ProductRegistry.h.
|
private |
Definition at line 343 of file ProductRegistry.cc.
void edm::ProductRegistry::print | ( | std::ostream & | os | ) | const |
Definition at line 329 of file ProductRegistry.cc.
|
inline |
Definition at line 63 of file ProductRegistry.h.
Referenced by edm::ProductSelector::fillDroppedToKept(), and edm::BranchIDListHelper::updateFromRegistry().
|
inline |
Definition at line 68 of file ProductRegistry.h.
Referenced by edm::WorkerManager::setOnDemandProducts().
std::shared_ptr< ProductHolderIndexHelper const > edm::ProductRegistry::productLookup | ( | BranchType | branchType | ) | const |
Definition at line 134 of file ProductRegistry.cc.
Referenced by edm::WorkerManager::beginJob().
std::shared_ptr< ProductHolderIndexHelper > edm::ProductRegistry::productLookup | ( | BranchType | branchType | ) |
Definition at line 141 of file ProductRegistry.cc.
|
inline |
Definition at line 108 of file ProductRegistry.h.
void edm::ProductRegistry::setFrozen | ( | bool | initializeLookupInfo = true | ) |
Definition at line 148 of file ProductRegistry.cc.
|
inlineprivate |
Definition at line 161 of file ProductRegistry.h.
|
inline |
Definition at line 96 of file ProductRegistry.h.
|
private |
Definition at line 158 of file ProductRegistry.cc.
|
private |
Definition at line 166 of file ProductRegistry.cc.
void edm::ProductRegistry::updateFromInput | ( | ProductList const & | other | ) |
Definition at line 200 of file ProductRegistry.cc.
Referenced by edm::RootSecondaryFileSequence::RootSecondaryFileSequence().
void edm::ProductRegistry::updateFromInput | ( | std::vector< BranchDescription > const & | other | ) |
Definition at line 207 of file ProductRegistry.cc.
|
private |
Definition at line 175 of file ProductRegistry.h.
|
private |
Definition at line 176 of file ProductRegistry.h.