CMS 3D CMS Logo

InternalContext.cc
Go to the documentation of this file.
3 
4 #include <ostream>
5 
6 namespace edm {
7 
8  InternalContext::InternalContext(EventID const& eventID, ModuleCallingContext const* moduleCallingContext)
9  : eventID_(eventID), moduleCallingContext_(moduleCallingContext) {}
10 
11  std::ostream& operator<<(std::ostream& os, InternalContext const& ic) {
12  os << "InternalContext " << ic.eventID() << "\n";
13  if (ic.moduleCallingContext()) {
14  os << " " << *ic.moduleCallingContext();
15  }
16  return os;
17  }
18 } // namespace edm
ModuleCallingContext.h
edm::InternalContext::moduleCallingContext
ModuleCallingContext const * moduleCallingContext() const
Definition: InternalContext.h:28
edm
HLT enums.
Definition: AlignableModifier.h:19
edm::operator<<
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger tbale.
Definition: HLTGlobalStatus.h:106
edm::InternalContext::InternalContext
InternalContext(EventID const &eventID, ModuleCallingContext const *)
Definition: InternalContext.cc:8
edm::InternalContext
Definition: InternalContext.h:23
InternalContext.h
edm::InternalContext::eventID
EventID const & eventID() const
Definition: InternalContext.h:27
edm::EventID
Definition: EventID.h:31
edm::ModuleCallingContext
Definition: ModuleCallingContext.h:29