test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ProductID.cc
Go to the documentation of this file.
2 #include <ostream>
3 #include <algorithm>
4 
5 namespace edm {
6  std::ostream&
7  operator<<(std::ostream& os, ProductID const& id) {
8  os << id.processIndex() << ":" << id.productIndex();
9  return os;
10  }
11 
12  bool operator<(ProductID const& lh, ProductID const& rh) {
13  return lh.processIndex() < rh.processIndex() ||
14  (lh.processIndex() == rh.processIndex() && lh.productIndex() < rh.productIndex());
15  }
16 
17  void ProductID::swap(ProductID& other) {
20  }
21 }
bool operator<(DetSet< T > const &x, DetSet< T > const &y)
Definition: DetSet.h:90
ProcessIndex productIndex() const
Definition: ProductID.h:37
bool int lh
Definition: SIMDVec.h:21
void swap(ProductID &other)
Definition: ProductID.cc:17
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
ProductIndex productIndex_
Definition: ProductID.h:45
ProcessIndex processIndex_
Definition: ProductID.h:44
ProcessIndex processIndex() const
Definition: ProductID.h:36
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger tbale.