#include <MayDay.H>
Static Public Member Functions | |
| void | Error (const char *msg=nullString) |
| Print out message to cerr and exit via MayDay::Abort(). | |
| void | Abort (const char *msg=nullString) |
| Print out message to cerr and exit via abort(). | |
| void | Warning (const char *msg=nullString) |
| Issues warning to stderr, but does not halt program execution. | |
Static Protected Attributes | |
| const char * | nullString |
| A null string used as a default argument by the other member functions. | |
This class consists entirely of static error-reporting functions that are used throughout the MayDay implementation together with a version string. In the best of all possible worlds we'd use a namespace, but we aren't there, yet :-) Note that all the output functions add a terminating exclamation mark, so there is no need to add any punction to sentences that get output explicitly.
|
|
Print out message to cerr and exit via abort().
|
|
|
Print out message to cerr and exit via MayDay::Abort().
|
|
|
Issues warning to stderr, but does not halt program execution.
|
|
|
A null string used as a default argument by the other member functions.
|
1.3.2