ITK Function Reference

(V10000.1.0.60_20160308.00)
Typedefs | Functions
error.h File Reference
#include <stdarg.h>
#include <stdio.h>
#include <error_datatypes.h>
#include <error_decode.h>
#include <error_protect.h>
#include <libsyss_exports.h>

Go to the source code of this file.

Typedefs

typedef void(* ERROR_display_fn_t )(const int ifail, const int type, const char *message)
 
typedef void(* ERROR_print_log_fn_t )(const char *type, const char *file_name, int line_number, const char *message)
 

Functions

SYSSEXPORT ERROR_generic_routine_t ERROR_address_of_caller (void)
 
SYSSEXPORT int ERROR_ask_count_of_signal_errors (void)
 
SYSSEXPORT int ERROR_ask_detailed_routine_name (ERROR_generic_routine_t pc, char *buffer)
 
SYSSEXPORT ERROR_log_file_status_t ERROR_ask_log_file_status (void)
 
SYSSEXPORT int ERROR_ask_signal_code (void)
 
SYSSEXPORT ERROR_signal_fn_t ERROR_ask_signal_handler (void)
 
SYSSEXPORT void ERROR_ask_statistics (int *number_of_notes, int *number_of_raises, int *number_of_internals)
 
SYSSEXPORT char * ERROR_ask_system_log (void)
 
SYSSEXPORT FILE * ERROR_ask_system_log_stream (void)
 
SYSSEXPORT logical ERROR_ask_traceback (void)
 
SYSSEXPORT void ERROR_assertion_failed (const char *file_name, int line_number, const char *format,...)
 
SYSSEXPORT void ERROR_cancel_note_handler (void)
 
SYSSEXPORT void ERROR_cancel_raise_handler (ERROR_raise_handler_id_t id)
 
SYSSEXPORT void ERROR_collapse (const char *file_name, int line_number, const char *control_string,...)
 
SYSSEXPORT logical ERROR_cxx_demangle (const char *encoded, char *decoded, size_t buflen)
 
SYSSEXPORT void ERROR_doAdditionalLog (const char *type, const char *file_name, int line_number, const char *message)
 
SYSSEXPORT void ERROR_escape (const char *file_name, int line_number, int exception_code_)
 
SYSSEXPORT void ERROR_exception (const char *file_name, int line_number, int exception_code_, const char *control_string,...)
 
SYSSEXPORT void ERROR_exit_module (void)
 
SYSSEXPORT logical ERROR_get_stack (FILE *stream, int max_depth, int *depth, ERROR_generic_routine_t *pcs)
 
SYSSEXPORT void ERROR_init_module (void)
 
SYSSEXPORT void ERROR_init_module_no_log_file (void)
 
SYSSEXPORT void ERROR_internal (const char *file_name, int line_number, const char *control_string,...)
 
SYSSEXPORT void ERROR_log_file_to_stdout (void)
 
SYSSEXPORT void ERROR_log_file_to_stream (int nbytes, FILE *stream)
 
SYSSEXPORT int ERROR_needLegacyLog ()
 
SYSSEXPORT void ERROR_note (const char *file_name, int line_number, const char *control_string,...)
 
SYSSEXPORT void ERROR_note_traceback (const char *file_name, int line_number, const char *control_string,...)
 
SYSSEXPORT void ERROR_raise (const char *file_name, int line_number, int failure_code, const char *control_string,...)
 
SYSSEXPORT void ERROR_register_display_fn (ERROR_display_fn_t)
 
SYSSEXPORT int ERROR_routine_name (ERROR_generic_routine_t fn, char *name)
 
SYSSEXPORT ERROR_debug_handler_t ERROR_set_debug_handler (const ERROR_debug_handler_t *pHandler)
 
SYSSEXPORT ERROR_suppression_fn_p_t ERROR_set_error_suppressor (ERROR_suppression_fn_p_t query_function)
 
SYSSEXPORT void ERROR_set_log_file_status (ERROR_log_file_status_t status)
 
SYSSEXPORT void ERROR_set_note_handler (ERROR_note_handler_t note_handler)
 
SYSSEXPORT void ERROR_set_print_log_replacement (ERROR_print_log_fn_t function, int do_legacy)
 
SYSSEXPORT ERROR_raise_handler_id_t ERROR_set_raise_handler (ERROR_raise_handler_fn_p_t raise_handler)
 
SYSSEXPORT void ERROR_set_signal_handler (ERROR_signal_fn_t signal_fn)
 
SYSSEXPORT void ERROR_set_system_log (const char *name)
 
SYSSEXPORT void ERROR_set_traceback (logical state)
 
SYSSEXPORT void ERROR_severe (const char *file_name, int line_number, int failure_code, const char *control_string,...)
 
SYSSEXPORT logical ERROR_shared_library_unloaded (void)
 
SYSSEXPORT int ERROR_special_routine_name (ERROR_generic_routine_t, char *)
 
SYSSEXPORT char * ERROR_timestamp (void)
 
SYSSEXPORT void ERROR_trace_back (FILE *)
 
SYSSEXPORT void ERROR_trace_back_to_log (void)
 
SYSSEXPORT void ERROR_trace_set_output (FILE *)
 
SYSSEXPORT void ERROR_user_abort (const char *file_name, int line_number)
 
SYSSEXPORT void ERROR_vcollapse (const char *file_name, int line_number, const char *control_string, va_list args)
 
SYSSEXPORT void ERROR_vnote (const char *file_name, int line_number, const char *control_string, va_list args)
 
SYSSEXPORT void ERROR_vraise (const char *file_name, int line_number, int failure_code, const char *control_string, va_list ap)
 
SYSSEXPORT int lprintf (const char *control_string,...)
 

Typedef Documentation

typedef void(* ERROR_display_fn_t)(const int ifail, const int type, const char *message)

Definition at line 218 of file error.h.

typedef void(* ERROR_print_log_fn_t)(const char *type, const char *file_name, int line_number, const char *message)

Definition at line 212 of file error.h.

Function Documentation

SYSSEXPORT ERROR_generic_routine_t ERROR_address_of_caller ( void  )
SYSSEXPORT int ERROR_ask_count_of_signal_errors ( void  )
SYSSEXPORT int ERROR_ask_detailed_routine_name ( ERROR_generic_routine_t  pc,
char *  buffer 
)
SYSSEXPORT ERROR_log_file_status_t ERROR_ask_log_file_status ( void  )
SYSSEXPORT int ERROR_ask_signal_code ( void  )
SYSSEXPORT ERROR_signal_fn_t ERROR_ask_signal_handler ( void  )
SYSSEXPORT void ERROR_ask_statistics ( int *  number_of_notes,
int *  number_of_raises,
int *  number_of_internals 
)
SYSSEXPORT char* ERROR_ask_system_log ( void  )
SYSSEXPORT FILE* ERROR_ask_system_log_stream ( void  )
SYSSEXPORT logical ERROR_ask_traceback ( void  )
SYSSEXPORT void ERROR_assertion_failed ( const char *  file_name,
int  line_number,
const char *  format,
  ... 
)
SYSSEXPORT void ERROR_cancel_note_handler ( void  )
SYSSEXPORT void ERROR_cancel_raise_handler ( ERROR_raise_handler_id_t  id)
SYSSEXPORT void ERROR_collapse ( const char *  file_name,
int  line_number,
const char *  control_string,
  ... 
)
SYSSEXPORT logical ERROR_cxx_demangle ( const char *  encoded,
char *  decoded,
size_t  buflen 
)
SYSSEXPORT void ERROR_doAdditionalLog ( const char *  type,
const char *  file_name,
int  line_number,
const char *  message 
)
SYSSEXPORT void ERROR_escape ( const char *  file_name,
int  line_number,
int  exception_code_ 
)
SYSSEXPORT void ERROR_exception ( const char *  file_name,
int  line_number,
int  exception_code_,
const char *  control_string,
  ... 
)
SYSSEXPORT void ERROR_exit_module ( void  )
SYSSEXPORT logical ERROR_get_stack ( FILE *  stream,
int  max_depth,
int *  depth,
ERROR_generic_routine_t pcs 
)
SYSSEXPORT void ERROR_init_module ( void  )
SYSSEXPORT void ERROR_init_module_no_log_file ( void  )
SYSSEXPORT void ERROR_internal ( const char *  file_name,
int  line_number,
const char *  control_string,
  ... 
)
SYSSEXPORT void ERROR_log_file_to_stdout ( void  )
SYSSEXPORT void ERROR_log_file_to_stream ( int  nbytes,
FILE *  stream 
)
SYSSEXPORT int ERROR_needLegacyLog ( )
SYSSEXPORT void ERROR_note ( const char *  file_name,
int  line_number,
const char *  control_string,
  ... 
)
SYSSEXPORT void ERROR_note_traceback ( const char *  file_name,
int  line_number,
const char *  control_string,
  ... 
)
SYSSEXPORT void ERROR_raise ( const char *  file_name,
int  line_number,
int  failure_code,
const char *  control_string,
  ... 
)
SYSSEXPORT void ERROR_register_display_fn ( ERROR_display_fn_t  )
SYSSEXPORT int ERROR_routine_name ( ERROR_generic_routine_t  fn,
char *  name 
)
SYSSEXPORT ERROR_debug_handler_t ERROR_set_debug_handler ( const ERROR_debug_handler_t pHandler)
SYSSEXPORT ERROR_suppression_fn_p_t ERROR_set_error_suppressor ( ERROR_suppression_fn_p_t  query_function)
SYSSEXPORT void ERROR_set_log_file_status ( ERROR_log_file_status_t  status)
SYSSEXPORT void ERROR_set_note_handler ( ERROR_note_handler_t  note_handler)
SYSSEXPORT void ERROR_set_print_log_replacement ( ERROR_print_log_fn_t  function,
int  do_legacy 
)
SYSSEXPORT ERROR_raise_handler_id_t ERROR_set_raise_handler ( ERROR_raise_handler_fn_p_t  raise_handler)
SYSSEXPORT void ERROR_set_signal_handler ( ERROR_signal_fn_t  signal_fn)
SYSSEXPORT void ERROR_set_system_log ( const char *  name)
SYSSEXPORT void ERROR_set_traceback ( logical  state)
SYSSEXPORT void ERROR_severe ( const char *  file_name,
int  line_number,
int  failure_code,
const char *  control_string,
  ... 
)
SYSSEXPORT logical ERROR_shared_library_unloaded ( void  )
SYSSEXPORT int ERROR_special_routine_name ( ERROR_generic_routine_t  ,
char *   
)
SYSSEXPORT char* ERROR_timestamp ( void  )
SYSSEXPORT void ERROR_trace_back ( FILE *  )
SYSSEXPORT void ERROR_trace_back_to_log ( void  )
SYSSEXPORT void ERROR_trace_set_output ( FILE *  )
SYSSEXPORT void ERROR_user_abort ( const char *  file_name,
int  line_number 
)
SYSSEXPORT void ERROR_vcollapse ( const char *  file_name,
int  line_number,
const char *  control_string,
va_list  args 
)
SYSSEXPORT void ERROR_vnote ( const char *  file_name,
int  line_number,
const char *  control_string,
va_list  args 
)
SYSSEXPORT void ERROR_vraise ( const char *  file_name,
int  line_number,
int  failure_code,
const char *  control_string,
va_list  ap 
)
SYSSEXPORT int lprintf ( const char *  control_string,
  ... 
)