msgs Namespace Reference

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.

Detailed Description

Errors output handling.


Function Documentation

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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
msg - the error message.

Definition at line 65 of file errormsgs.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Mon Sep 26 18:43:53 2011 for CRyptography And Groups (CRAG) by  doxygen 1.6.1