Errors output handling. More...
Functions | |
void | error (const char *msg) |
Print a message to the standard error output. | |
void | error (const string &msg) |
Print a message to the standard error output. | |
bool | error (bool exp, const char *msg) |
Conditional output of an error message to the standard error output. | |
void | warn (const char *msg) |
Print a message to the standard error output. |
Errors output handling.
bool msgs::error | ( | bool | exp, | |
const char * | msg | |||
) | [inline] |
Conditional output of an error message to the standard error output.
Prints an error message if exp
is not true
. This function will go into infinite loop (freeze) so one can get a stack backtrace when debugging.
exp | - boolean expression. | |
msg | - the error message. |
Definition at line 49 of file errormsgs.h.
void msgs::error | ( | const string & | msg | ) | [inline] |
Print a message to the standard error output.
This function will go into infinite loop (freeze) so one can get a stack backtrace when debugging.
msg | - the error message. |
Definition at line 35 of file errormsgs.h.
void msgs::error | ( | const char * | msg | ) | [inline] |
Print a message to the standard error output.
This function will go into infinite loop (freeze) so one can get a stack backtrace when debugging.
msg | - the error message. |
Definition at line 23 of file errormsgs.h.
Referenced by Map::generatingImages(), WhiteheadSimpleGraph::getCount(), Map::Map(), and Map::setGeneratingImages().
void msgs::warn | ( | const char * | msg | ) | [inline] |
Print a message to the standard error output.
msg | - the error message. |
Definition at line 65 of file errormsgs.h.