CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PathContext.cc
Go to the documentation of this file.
3 
4 #include <ostream>
5 
6 namespace edm {
7 
9  StreamContext const* streamContext,
10  unsigned int pathID,
11  PathType pathType) :
12  pathName_(pathName),
13  streamContext_(streamContext),
14  pathID_(pathID),
15  pathType_(pathType) {
16  }
17 
18  std::ostream& operator<<(std::ostream& os, PathContext const& pc) {
19  os << "PathContext: pathName = " << pc.pathName()
20  << " pathID = " << pc.pathID();
22  os << " (EndPath)\n";
23  } else {
24  os << "\n";
25  }
26  if(pc.streamContext()) {
27  os << " " << *pc.streamContext();
28  }
29  return os;
30  }
31 }
std::string const & pathName() const
Definition: PathContext.h:37
PathContext(std::string const &pathName, StreamContext const *streamContext, unsigned int pathID, PathType pathType)
Definition: PathContext.cc:8
PathType pathType() const
Definition: PathContext.h:40
unsigned int pathID() const
Definition: PathContext.h:39
StreamContext const * streamContext() const
Definition: PathContext.h:38
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger tbale.