47 #ifndef IOSTREAM_INCLUDED
81 bool verbat ) : verbatim(verbat) {
83 #ifdef ErrorObjCONSTRUCTOR_TRACE
84 std::cerr <<
"Constructor for ErrorObj\n";
94 mySerial ( orig.mySerial )
95 , myXid ( orig.myXid )
96 , myIdOverflow ( orig.myIdOverflow )
97 , myTimestamp ( orig.myTimestamp )
98 , myItems ( orig.myItems )
99 , myReactedTo ( orig.myReactedTo )
102 , verbatim ( orig.verbatim )
105 #ifdef ErrorObjCONSTRUCTOR_TRACE
106 std::cerr <<
"Copy Constructor for ErrorObj\n";
114 #ifdef ErrorObjCONSTRUCTOR_TRACE
115 std::cerr <<
"Destructor for ErrorObj\n";
140 for ( ELlist_string::const_iterator it =
myItems.begin();
174 #ifdef ErrorObj_SUB_TRACE
175 std::cerr <<
"=:=:=: ErrorObj::setSubroutine(" << subroutine <<
")\n";
178 ? subroutine.substr(1)
186 std::cerr <<
"ErrorObj process set to \"" << proc <<
"\"\n";
195 #ifdef ErrorObj_SUB_TRACE
202 #ifdef ErrorObj_EMIT_TRACE
203 std::cerr <<
"=:=:=: ErrorObj::emitToken( " << s <<
" )\n";
206 #ifdef ErrorObj_SUB_TRACE
208 std::cerr <<
"=:=:=: subN ErrorObj::emitToken( " << s <<
" )\n";
213 if (
eq_nocase(s.substr(0,5),
"@SUB=" ) ) {
214 #ifdef ErrorObj_SUB_TRACE
215 std::cerr <<
"=:=:=: ErrorObj::@SUB s.substr(5) is: " << s.substr(5)
260 #ifdef OLD_STYLE_AUTOMATIC_SPACES
261 if ( !
myOs.str().empty() ) {
const ELstring & idOverflow() const
virtual void setSeverity(const ELseverityLevel &sev)
virtual void set(const ELseverityLevel &sev, const ELstring &id)
ErrorObj(const ELseverityLevel &sev, const ELstring &id, bool verbatim=false)
TrainProcessor *const proc
virtual ErrorObj & emitToken(const ELstring &txt)
ELslProxy< ELfatalGen > const ELfatal
virtual void setSubroutine(const ELstring &subroutine)
ELslProxy< ELhighestSeverityGen > const ELhighestSeverity
virtual void setContext(const ELstring &context)
virtual void setReactedTo(bool r)
const ELextendedID & xid() const
ErrorObj & opltlt(const T &t)
ELslProxy< ELzeroSeverityGen > const ELzeroSeverity
ELslProxy< ELincidentalGen > const ELincidental
const unsigned int maxIDlength(200)
ELstring fullText() const
const ELlist_string & items() const
virtual void setID(const ELstring &ID)
bool eq_nocase(const ELstring &s1, const char s2[])
std::list< ELstring > ELlist_string
static std::string const emptyString("")
virtual void setProcess(const ELstring &proc)
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger tbale.
virtual void setModule(const ELstring &module)