#include <ErrorObj.h>
Public Member Functions | |
virtual void | clear () |
ELstring | context () const |
virtual ErrorObj & | emitToken (const ELstring &txt) |
ErrorObj (const ELseverityLevel &sev, const ELstring &id, bool verbatim=false) | |
ErrorObj (const ErrorObj &orig) | |
ELstring | fullText () const |
const ELstring & | idOverflow () const |
bool | is_verbatim () const |
const ELlist_string & | items () const |
ErrorObj & | operator<< (std::ostream &(*f)(std::ostream &)) |
ErrorObj & | operator<< (std::ios_base &(*f)(std::ios_base &)) |
ErrorObj & | operator= (const ErrorObj &other) |
template<class T > | |
ErrorObj & | opltlt (const T &t) |
ErrorObj & | opltlt (const char s[]) |
bool | reactedTo () const |
int | serial () const |
virtual void | set (const ELseverityLevel &sev, const ELstring &id) |
virtual void | setContext (const ELstring &context) |
virtual void | setID (const ELstring &ID) |
virtual void | setModule (const ELstring &module) |
virtual void | setProcess (const ELstring &proc) |
virtual void | setReactedTo (bool r) |
virtual void | setSeverity (const ELseverityLevel &sev) |
virtual void | setSubroutine (const ELstring &subroutine) |
void | swap (ErrorObj &other) |
time_t | timestamp () const |
const ELextendedID & | xid () const |
virtual | ~ErrorObj () |
Private Attributes | |
std::string | emptyString |
ELstring | myContext |
ELstring | myIdOverflow |
ELlist_string | myItems |
std::ostringstream | myOs |
bool | myReactedTo |
int | mySerial |
time_t | myTimestamp |
ELextendedID | myXid |
bool | verbatim |
Static Private Attributes | |
static int | ourSerial |
Definition at line 51 of file ErrorObj.h.
edm::ErrorObj::ErrorObj | ( | const ELseverityLevel & | sev, |
const ELstring & | id, | ||
bool | verbatim = false |
||
) |
Definition at line 79 of file ErrorObj.cc.
References dtNoiseDBValidation_cfg::cerr, clear(), and set().
edm::ErrorObj::ErrorObj | ( | const ErrorObj & | orig | ) |
|
virtual |
|
virtual |
Definition at line 262 of file ErrorObj.cc.
References edm::ELextendedID::clear(), myIdOverflow, myItems, myReactedTo, mySerial, myTimestamp, and myXid.
Referenced by edm::service::ELadministrator::clearMsg(), ErrorObj(), edm::service::ELtsErrorLog::initiateMsg(), and set().
ELstring edm::ErrorObj::context | ( | ) | const |
Definition at line 153 of file ErrorObj.cc.
References myContext.
Referenced by edm::ELlog4cplus::log(), and edm::service::MessageLoggerScribe::log().
Definition at line 220 of file ErrorObj.cc.
References dtNoiseDBValidation_cfg::cerr, edm::eq_nocase(), myItems, and setSubroutine().
Referenced by edm::service::ErrorLog::emitToken(), edm::service::ELtsErrorLog::item(), edm::service::ELerrorList::log(), and opltlt().
ELstring edm::ErrorObj::fullText | ( | ) | const |
const ELstring & edm::ErrorObj::idOverflow | ( | ) | const |
Definition at line 147 of file ErrorObj.cc.
References myIdOverflow.
Referenced by edm::ELlog4cplus::log(), and edm::service::ELoutput::log().
bool edm::ErrorObj::is_verbatim | ( | ) | const |
Definition at line 151 of file ErrorObj.cc.
References verbatim.
Referenced by edm::service::ELoutput::log().
const ELlist_string & edm::ErrorObj::items | ( | ) | const |
Definition at line 149 of file ErrorObj.cc.
References myItems.
Referenced by betterConfigParser.BetterConfigParser::exists(), python.rootplot.core.Options::kwarg_list(), edm::service::ELfwkJobReport::log(), edm::ELlog4cplus::log(), edm::service::ELoutput::log(), and edm::service::ELcollected::log().
|
inline |
|
inline |
Definition at line 120 of file ErrorObj.cc.
References swap(), and groupFilesInBlocks::temp.
Referenced by edm::operator<<().
ErrorObj & edm::ErrorObj::opltlt | ( | const char | s[] | ) |
Definition at line 274 of file ErrorObj.cc.
References emitToken(), emptyString, myOs, alignCSCRings::s, and verbatim.
bool edm::ErrorObj::reactedTo | ( | ) | const |
Definition at line 150 of file ErrorObj.cc.
References myReactedTo.
Referenced by edm::service::ELstatistics::log().
int edm::ErrorObj::serial | ( | ) | const |
Definition at line 145 of file ErrorObj.cc.
References mySerial.
Referenced by edm::ELlog4cplus::log(), and edm::service::ELoutput::log().
|
virtual |
Definition at line 249 of file ErrorObj.cc.
References clear(), mySerial, myTimestamp, ourSerial, setID(), setSeverity(), and cond::rpcobgas::time.
Referenced by ErrorObj(), betterConfigParser.BetterConfigParser::getGeneral(), edm::service::ELtsErrorLog::initiateMsg(), and edm::service::ErrorLog::operator()().
|
virtual |
Definition at line 190 of file ErrorObj.cc.
References trackerHits::c, and myContext.
Referenced by edm::MessageSender::ErrorObjDeleter::operator()().
|
virtual |
Definition at line 181 of file ErrorObj.cc.
References edm::ELextendedID::id, edm::maxIDlength(), myIdOverflow, and myXid.
Referenced by edm::service::MessageLoggerScribe::log(), and set().
|
virtual |
Definition at line 188 of file ErrorObj.cc.
References edm::ELextendedID::module, python.rootplot.argparse::module, and myXid.
Referenced by edm::service::ELtsErrorLog::initiateMsg(), edm::MessageSender::ErrorObjDeleter::operator()(), edm::service::ErrorLog::operator()(), and edm::service::ELtsErrorLog::pokeMsg().
|
virtual |
Definition at line 203 of file ErrorObj.cc.
References dtNoiseDBValidation_cfg::cerr, myXid, proc, and edm::ELextendedID::process.
Referenced by edm::service::ELtsErrorLog::initiateMsg(), edm::service::ErrorLog::operator()(), and edm::service::ELtsErrorLog::pokeMsg().
|
virtual |
Definition at line 210 of file ErrorObj.cc.
References myReactedTo, and alignCSCRings::r.
Referenced by edm::service::ELtsErrorLog::dispatch(), edm::service::ELadministrator::finishMsg(), edm::service::ELtsErrorLog::initiateMsg(), and edm::service::ErrorLog::operator()().
|
virtual |
Definition at line 173 of file ErrorObj.cc.
References edm::ELfatal, edm::ELhighestSeverity, edm::ELincidental, edm::ELzeroSeverity, myXid, and edm::ELextendedID::severity.
Referenced by set().
|
virtual |
Definition at line 193 of file ErrorObj.cc.
References dtNoiseDBValidation_cfg::cerr, myXid, and edm::ELextendedID::subroutine.
Referenced by emitToken(), edm::service::ELtsErrorLog::initiateMsg(), edm::service::ErrorLog::operator()(), and edm::service::ELtsErrorLog::pokeMsg().
void edm::ErrorObj::swap | ( | ErrorObj & | other | ) |
Definition at line 126 of file ErrorObj.cc.
References emptyString, myContext, myIdOverflow, myItems, myOs, myReactedTo, mySerial, myTimestamp, myXid, AlCaHLTBitMon_QueryRunRegistry::string, std::swap(), groupFilesInBlocks::temp, and verbatim.
Referenced by operator=(), edm::service::ELtsErrorLog::swap(), and edm::swap().
time_t edm::ErrorObj::timestamp | ( | ) | const |
Definition at line 148 of file ErrorObj.cc.
References myTimestamp.
Referenced by edm::ELlog4cplus::log(), and edm::service::ELoutput::log().
const ELextendedID & edm::ErrorObj::xid | ( | ) | const |
Definition at line 146 of file ErrorObj.cc.
References myXid.
Referenced by edm::service::ELtsErrorLog::dispatch(), edm::service::ELadministrator::finishMsg(), edm::service::ELfwkJobReport::log(), edm::service::ELerrorList::log(), edm::ELlog4cplus::log(), edm::service::ELoutput::log(), edm::service::ELstatistics::log(), edm::service::MessageLoggerScribe::log(), edm::service::ELcollected::log(), edm::MessageSender::ErrorObjDeleter::operator()(), edm::service::ErrorLog::operator()(), and edm::service::ELtsErrorLog::pokeMsg().
|
private |
Definition at line 118 of file ErrorObj.h.
|
private |
Definition at line 116 of file ErrorObj.h.
Referenced by context(), setContext(), and swap().
|
private |
Definition at line 112 of file ErrorObj.h.
Referenced by clear(), idOverflow(), setID(), and swap().
|
private |
Definition at line 114 of file ErrorObj.h.
Referenced by clear(), emitToken(), fullText(), items(), and swap().
|
private |
Definition at line 117 of file ErrorObj.h.
|
private |
Definition at line 115 of file ErrorObj.h.
Referenced by clear(), reactedTo(), setReactedTo(), and swap().
|
private |
|
private |
Definition at line 113 of file ErrorObj.h.
Referenced by clear(), set(), swap(), and timestamp().
|
private |
Definition at line 111 of file ErrorObj.h.
Referenced by clear(), setID(), setModule(), setProcess(), setSeverity(), setSubroutine(), swap(), and xid().
|
staticprivate |
Definition at line 106 of file ErrorObj.h.
Referenced by set().
|
private |
Definition at line 119 of file ErrorObj.h.
Referenced by is_verbatim(), opltlt(), and swap().