Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:29:08

0001 #include "FWCore/ServiceRegistry/interface/PlaceInPathContext.h"
0002 #include "FWCore/ServiceRegistry/interface/PathContext.h"
0003 
0004 #include <ostream>
0005 
0006 namespace edm {
0007 
0008   PlaceInPathContext::PlaceInPathContext(unsigned int placeInPath) : placeInPath_(placeInPath), pathContext_(nullptr) {}
0009 
0010   std::ostream& operator<<(std::ostream& os, PlaceInPathContext const& ppc) {
0011     os << "PlaceInPathContext " << ppc.placeInPath() << "\n";
0012     if (ppc.pathContext()) {
0013       os << "    " << *ppc.pathContext();
0014     }
0015     return os;
0016   }
0017 }  // namespace edm