Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
FWCore
ServiceRegistry
src
InternalContext.cc
Go to the documentation of this file.
1
#include "
FWCore/ServiceRegistry/interface/InternalContext.h
"
2
#include "
FWCore/ServiceRegistry/interface/ModuleCallingContext.h
"
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
edm::ModuleCallingContext
Definition:
ModuleCallingContext.h:32
edm::InternalContext
Definition:
InternalContext.h:23
edm::InternalContext::moduleCallingContext
ModuleCallingContext const * moduleCallingContext() const
Definition:
InternalContext.h:28
InternalContext.h
edm::EventID
Definition:
EventID.h:31
edm::InternalContext::eventID
EventID const & eventID() const
Definition:
InternalContext.h:27
edm::operator<<
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger tbale.
Definition:
HLTGlobalStatus.h:106
ModuleCallingContext.h
edm::InternalContext::InternalContext
InternalContext(EventID const &eventID, ModuleCallingContext const *)
Definition:
InternalContext.cc:8
Generated for CMSSW Reference Manual by
1.8.5