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  bool updateFromInput(BranchIDLists const& bidlists);
20  void updateRegistries(ProductRegistry const& reg);
22 
23  BranchIDLists const& branchIDLists() const {return branchIDLists_;}
26 
27  private:
31  };
32 }
33 
34 #endif
std::pair< BranchListIndex, ProductIndex > IndexPair
std::vector< BranchIDList > BranchIDLists
Definition: BranchIDList.h:19
BranchIDToIndexMap const & branchIDToIndexMap() const
void fixBranchListIndexes(BranchListIndexes &indexes)
std::vector< BranchListIndex > BranchListIndexes
BranchIDLists & branchIDLists()
BranchIDLists const & branchIDLists() const
BranchListIndexMapper branchListIndexMapper_
std::multimap< BranchID, IndexPair > BranchIDToIndexMap
BranchIDToIndexMap branchIDToIndexMap_
bool updateFromInput(BranchIDLists const &bidlists)
void updateRegistries(ProductRegistry const &reg)
std::map< BranchListIndex, BranchListIndex > BranchListIndexMapper