|
Classes |
| class | MFErrorHandler |
| | An error handler, which can be changed how errors are handled. More...
|
Functions |
| void | MFRefErrorHandler (MFErrorHandler e) |
| | Adds a reference to an Error Handler.
|
| void | MFFreeErrorHandler (MFErrorHandler e) |
| | Frees a reference to a e, and deletes the e if there are no references left.
|
| MFErrorHandler | MFCreateErrorHandler () |
| | Creates a new error handler.
|
| void | MFSetError (MFErrorHandler e, int severity, char *routine, char *message, int line, char *filename) |
| | Reports an error to an error handler.
|
| int | MFGetNErrors (MFErrorHandler e) |
| | Gets the number of errors that have occuered up to this point.
|
| int | MFErrorHandlerGetSev (MFErrorHandler, int) |
| | Gets the severity of a particular error. The errorNumber must be between 0 and MFGetNErrors(e)-1.
|
| char * | MFErrorHandlerGetRoutine (MFErrorHandler e, int errorNumber) |
| | Gets the name of the routine where a particular error occured. The errorNumber must be between 0 and MFGetNErrors(e)-1.
|
| char * | MFErrorHandlerGetMsg (MFErrorHandler e, int errorNumber) |
| | Gets the message associated with a particular error. The errorNumber must be between 0 and MFGetNErrors(e)-1.
|
| int | MFErrorHandlerGetLine (MFErrorHandler e, int errorNumber) |
| | Gets the line in the source file where a particular error was issued. The errorNumber must be between 0 and MFGetNErrors(e)-1.
|
| char * | MFErrorHandlerGetFile (MFErrorHandler e, int errorNumber) |
| | Gets the name of the source file where a particular error was issued. The errorNumber must be between 0 and MFGetNErrors(e)-1.
|
| int | MFIsError (MFErrorHandler e) |
| | Returns TRUE (1) if any error has been reported to the error handler.
|
| void | MFClearErrors (MFErrorHandler e) |
| | Clears the list of errors.
|
| void | MFErrorHandlerOutOfMemory (MFErrorHandler e) |
| | A special routine to report to the error handler that no space is available to malloc and it's ilk.
|