ANL_DIAGNOSTICS Class Reference

#include <anl_diagnostics.h>

List of all members.

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

Detailed Description

Definition at line 55 of file anl_diagnostics.h.


Constructor & Destructor Documentation

ANL_DIAGNOSTICS::ANL_DIAGNOSTICS ( FILE *  diag_file  )  [inline]

Definition at line 64 of file anl_diagnostics.h.


Member Function Documentation

void ANL_DIAGNOSTICS::Error ( const char *  msg  ) 
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().

Here is the call graph for this function:

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().

Here is the call graph for this function:


Member Data Documentation

FILE* ANL_DIAGNOSTICS::_diag_file [private]

Definition at line 60 of file anl_diagnostics.h.

Referenced by Error(), Fatal(), and Warning().

Definition at line 59 of file anl_diagnostics.h.

Referenced by Error(), Error_Was_Reported(), and Reset_Error_Condition().


The documentation for this class was generated from the following files:

Generated on Tue Nov 17 06:37:32 2009 for Open64 (mfef90, whirl2f, and IR tools) by  doxygen 1.6.1