#include <message.hxx>
Public Types | |
enum | ESeverity { eInfo = 0, eWarn, eError, eFatal } |
Static Public Member Functions | |
static void | msg (ESeverity svr, unsigned code,...) |
static void | addMsgs (unsigned code, string msg) |
static void | addMsgs (string msgs[], unsigned code=1) |
Add messages starting at code. Stop at null ("") message. | |
static void | setStream (ESeverity strm, ostream *os) |
Private Types | |
typedef map< unsigned, string > | TMsgMap |
Static Private Attributes | |
static TMsgMap | m_msgMap |
static ostream * | m_strms [] |
Streams in order respecting ESeverity. |
typedef map<unsigned, string> xyzzy::TMessage::TMsgMap [private] |
void xyzzy::TMessage::msg | ( | ESeverity | svr, | |
unsigned | code, | |||
... | ||||
) | [static] |
void xyzzy::TMessage::addMsgs | ( | unsigned | code, | |
string | msg | |||
) | [static] |
void xyzzy::TMessage::addMsgs | ( | string | msgs[], | |
unsigned | code = 1 | |||
) | [static] |
Add messages starting at code. Stop at null ("") message.
void xyzzy::TMessage::setStream | ( | ESeverity | strm, | |
ostream * | os | |||
) | [static] |
TMessage::TMsgMap xyzzy::TMessage::m_msgMap [static, private] |
ostream * xyzzy::TMessage::m_strms [static, private] |
Streams in order respecting ESeverity.