File indexing completed on 2024-04-06 12:13:03
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 }