/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
FWCore/ServiceRegistry/src/PathContext.cc
26 строк
869 B
W. David Dagenhart
Changes from scram build code-format-all
03 май 2019, 18:48
03 май 2019, 18:48
22c28dc
Код
Авторство
О чём код?
#include "FWCore/ServiceRegistry/interface/PathContext.h" #include "FWCore/ServiceRegistry/interface/StreamContext.h" #include <ostream> namespace edm { PathContext::PathContext(std::string const& pathName, StreamContext const* streamContext, unsigned int pathID, PathType pathType) : pathName_(pathName), streamContext_(streamContext), pathID_(pathID), pathType_(pathType) {} std::ostream& operator<<(std::ostream& os, PathContext const& pc) { os << "PathContext: pathName = " << pc.pathName() << " pathID = " << pc.pathID(); if (pc.pathType() == PathContext::PathType::kEndPath) { os << " (EndPath)\n"; } else { os << "\n"; } if (pc.streamContext()) { os << " " << *pc.streamContext(); } return os; } } // namespace edm