/home/amodigli/releases/xsh/1.2.10/pso/xsh.26608/xshp/xsh/irplib_error.c File Reference

#include "irplib_error.h"
#include <string.h>
#include <cpl.h>
#include <cxutils.h>
#include <stdarg.h>

Go to the source code of this file.

Data Structures

struct  irplib_error

Defines

#define MAX_STRING_LENGTH   200
#define MAX_ERRORS   20

Functions

static void irplib_error_validate_state (const char *func, const char *file, unsigned int line)
 Synchronize IRPLIB error state with CPL's error state.
cpl_error_code xsh_irplib_error_push_macro (const char *func, cpl_error_code ec, const char *file, unsigned int line)
 Set or propagate an error.
void xsh_irplib_error_set_msg (const char *format,...)
 Temporarily store an error message.
void xsh_irplib_error_reset (void)
 Reset the error state.
void xsh_irplib_error_dump_macro (const char *func, const char *file, unsigned int line, cpl_msg_severity severity, cpl_msg_severity trace_severity)
 Print the error queue.

Variables

struct {
   irplib_error   errors [MAX_ERRORS]
   cpl_boolean   is_empty
   unsigned int   first
   unsigned int   last
queue
static char error_msg [MAX_STRING_LENGTH]
static cpl_boolean is_initialized = CPL_FALSE

Variable Documentation

irplib_error errors[MAX_ERRORS]

Definition at line 86 of file irplib_error.c.

unsigned int first
cpl_boolean is_empty

Definition at line 87 of file irplib_error.c.

unsigned int last

Generated on 9 Mar 2011 for X-shooter Pipeline Reference Manual by  doxygen 1.6.1