/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
FWCore/MessageLogger/src/ELextendedID.cc
51 строка
2 KB
Shahzad Malik Muzaffar
[CORE] apply code-format
08 июн 2021, 21:43
08 июн 2021, 21:43
bcac5f3
Код
Авторство
О чём код?
// ---------------------------------------------------------------------- // // ELextendedID.cc is used as a key in maps for both counting toward // limits on how many times a destination will react // to a type of message, and for statistics. // // 07-Jul-1998 mf Created file. // 26-Aug-1998 WEB Updated with ELseverityLevel in place of int. // // ---------------------------------------------------------------------- #include "FWCore/MessageLogger/interface/ELextendedID.h" namespace edm { // ---------------------------------------------------------------------- // Comparator: // ---------------------------------------------------------------------- bool ELextendedID::operator<(const ELextendedID& xid) const { return (severity < xid.severity) ? true : (severity > xid.severity) ? false : (id < xid.id) ? true : (id > xid.id) ? false : (module < xid.module) ? true : (module > xid.module) ? false : (subroutine < xid.subroutine) ? true : (subroutine > xid.subroutine) ? false : false; } // ELextendedID::operator<() // ---------------------------------------------------------------------- // (Re)initializer: // ---------------------------------------------------------------------- void ELextendedID::clear() { id = ""; severity = messagelogger::ELunspecified; module = ""; subroutine = ""; } // clear() // ---------------------------------------------------------------------- } // end of namespace edm */