62 const string& message,
64 const Uint8 num_total)
86 if( message.empty() ) {
96 ITERATE(
string, msg_it, sXMLEncodedMessage ) {
97 const char ch = *msg_it;
147 if (pMessage->GetSeverity() == severity) {
158 ostr <<
"(( No messages ))" << endl;
162 pMessage->Dump(ostr);
171 ostr <<
"(( No messages ))" << endl;
176 pMessage->DumpAsXML(ostr);
194 : m_AcceptLevel(accept_level) {}
#define ITERATE(Type, Var, Cont)
ITERATE macro to sequence through container elements.
EDiagSev
Severity level for the posted diagnostics.
@ eDiag_Info
Informational message.
@ eDiagSevMax
Verbosity level for max. severity.
uint64_t Uint8
8-byte (64-bit) unsigned integer
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define END_SCOPE(ns)
End the previously defined scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define BEGIN_SCOPE(ns)
Define a new scope.
IO_PREFIX::ostream CNcbiOstream
Portable alias for ostream.
static string XmlEncode(const CTempString str, TXmlEncode flags=eXmlEnc_Contents)
Encode a string for XML.