CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
BranchIDListHelper.h
Go to the documentation of this file.
1 #ifndef FWCore_Framework_BranchIDListHelper_h
2 #define FWCore_Framework_BranchIDListHelper_h
3 
8 
9 #include <map>
10 
11 namespace edm {
12 
14  public:
15  typedef std::pair<BranchListIndex, ProductIndex> IndexPair;
16  typedef std::multimap<BranchID, IndexPair> BranchIDToIndexMap;
17  typedef std::map<BranchListIndex, BranchListIndex> BranchListIndexMapper;
19  static bool updateFromInput(BranchIDLists const& bidlists, std::string const& fileName);
20  static void updateRegistries(ProductRegistry const& reg);
21  static void fixBranchListIndexes(BranchListIndexes& indexes);
22  static void clearRegistries(); // Use only for tests
23 
25 
26  private:
29  };
30 }
31 
32 #endif
std::pair< BranchListIndex, ProductIndex > IndexPair
BranchIDToIndexMap const & branchIDToIndexMap() const
std::vector< BranchIDList > BranchIDLists
Definition: BranchIDList.h:19
static bool updateFromInput(BranchIDLists const &bidlists, std::string const &fileName)
static void fixBranchListIndexes(BranchListIndexes &indexes)
std::vector< BranchListIndex > BranchListIndexes
BranchListIndexMapper branchListIndexMapper_
std::multimap< BranchID, IndexPair > BranchIDToIndexMap
BranchIDToIndexMap branchIDToIndexMap_
static void updateRegistries(ProductRegistry const &reg)
author Stefano ARGIRO author Bill Tanenbaum
std::map< BranchListIndex, BranchListIndex > BranchListIndexMapper