icedb  version 0.5.1
Snow particle scattering database API
Classes | Macros | Typedefs | Variables
error_context.h File Reference
#include "defs.h"
#include "error.h"
Include dependency graph for error_context.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ICEDB_error_context_var_val
 
struct  ICEDB_error_context
 
struct  ICEDB_error_context_container_ftable
 A convenience wrapper for all error functions. More...
 

Macros

#define ICEDB_H_ERROR_CONTEXT
 
#define ICEDB_error_context_create(x)   ICEDB_error_context_create_impl(x, (__FILE__), (int)__LINE__,(ICEDB_DEBUG_FSIG));
 
#define ICEDB_error_context_append   ICEDB_error_context_appendA
 
#define ICEDB_error_context_append_str   ICEDB_error_context_append_strA
 
#define ICEDB_error_context_add_string   ICEDB_error_context_add_stringA
 
#define ICEDB_error_context_add_string2   ICEDB_error_context_add_string2A
 

Typedefs

typedef struct ICEDB_error_context *(* ICEDB_error_context_create_impl_f) (int, const char *, int, const char *)
 
typedef struct ICEDB_error_context *(* ICEDB_error_context_copy_f) (const struct ICEDB_error_context *)
 
typedef void(* ICEDB_error_context_appendA_f) (struct ICEDB_error_context *, size_t sz, const char *data)
 
typedef void(* ICEDB_error_context_append_strA_f) (struct ICEDB_error_context *, const char *data)
 
typedef void(* ICEDB_error_context_add_stringA_f) (struct ICEDB_error_context *, size_t var_sz, const char *var_name, size_t val_sz, const char *var_val)
 
typedef void(* ICEDB_error_context_add_string2A_f) (struct ICEDB_error_context *, const char *var_name, const char *var_val)
 
typedef void(* ICEDB_error_context_widen_f) (struct ICEDB_error_context *, size_t numNewSpaces)
 

Variables

ICEDB_THREAD_LOCAL ICEDB_error_context__ICEDB_LOCAL_THREAD_error_context
 
DL_ICEDB ICEDB_error_context_create_impl_f ICEDB_error_context_create_impl
 
DL_ICEDB ICEDB_error_context_copy_f ICEDB_error_context_copy
 
DL_ICEDB ICEDB_error_context_appendA_f ICEDB_error_context_appendA
 
DL_ICEDB ICEDB_error_context_append_strA_f ICEDB_error_context_append_strA
 
DL_ICEDB ICEDB_error_context_add_stringA_f ICEDB_error_context_add_stringA
 
DL_ICEDB ICEDB_error_context_add_string2A_f ICEDB_error_context_add_string2A
 
DL_ICEDB ICEDB_error_context_widen_f ICEDB_error_context_widen
 
DL_ICEDB const struct ICEDB_error_context_container_ftable ICEDB_ct_error_context
 

Macro Definition Documentation

◆ ICEDB_H_ERROR_CONTEXT

#define ICEDB_H_ERROR_CONTEXT

Definition at line 3 of file error_context.h.