#include <anl_diagnostics.h>
Public Member Functions | |
| ANL_DIAGNOSTICS (FILE *diag_file) | |
| void | Warning (const char *msg) |
| void | Error (const char *msg) |
| void | Fatal (const char *msg) |
| BOOL | Error_Was_Reported () const |
| void | Reset_Error_Condition () |
Private Attributes | |
| BOOL | _error_condition |
| FILE * | _diag_file |
Definition at line 55 of file anl_diagnostics.h.
| ANL_DIAGNOSTICS::ANL_DIAGNOSTICS | ( | FILE * | diag_file | ) | [inline] |
Definition at line 64 of file anl_diagnostics.h.
| void ANL_DIAGNOSTICS::Error | ( | const char * | msg | ) |
Definition at line 54 of file anl_diagnostics.cxx.
References _diag_file, _error_condition, fprintf(), and TRUE.
Referenced by ANL_PRAGMA_CONSTRUCT::_Find_Pragma_End_Stmt(), ANL_FILE_MNGR::_Is_Open_Check(), Anl_Validate_Options(), ANL_VARLIST::Find_or_Insert(), W2CF_TRANSLATOR::Nest_Clauses_To_String(), and ANL_FUNC_ENTRY::Set_Construct_Id().

| BOOL ANL_DIAGNOSTICS::Error_Was_Reported | ( | ) | const [inline] |
Definition at line 73 of file anl_diagnostics.h.
References _error_condition.
Referenced by Anl_Init(), and Anl_Static_Analysis().
| void ANL_DIAGNOSTICS::Fatal | ( | const char * | msg | ) |
Definition at line 62 of file anl_diagnostics.cxx.
References _diag_file, exit(), and fprintf().
Referenced by Anl_Init(), and Anl_Static_Analysis().

| void ANL_DIAGNOSTICS::Reset_Error_Condition | ( | ) | [inline] |
Definition at line 74 of file anl_diagnostics.h.
References _error_condition, and FALSE.
| void ANL_DIAGNOSTICS::Warning | ( | const char * | msg | ) |
Definition at line 47 of file anl_diagnostics.cxx.
References _diag_file, and fprintf().
Referenced by ANL_FILE_MNGR::_General_Check(), ANL_FILE_MNGR::_Not_Open_Check(), and ANL_FILE_MNGR::_Overwrite_Warning().

FILE* ANL_DIAGNOSTICS::_diag_file [private] |
Definition at line 60 of file anl_diagnostics.h.
BOOL ANL_DIAGNOSTICS::_error_condition [private] |
Definition at line 59 of file anl_diagnostics.h.
Referenced by Error(), Error_Was_Reported(), and Reset_Error_Condition().
1.6.1