dbl_format.c File Reference

#include "qs_config.h"
#include "dbl_format.h"
#include "dbl_qsopt.h"
#include "dbl_iqsutil.h"

Include dependency graph for dbl_format.c:

Go to the source code of this file.

Functions

int dbl_ILLadd_error_to_memory (void *dest, const dbl_qsformat_error *error)
void dbl_ILLerror_collector_free (dbl_qserror_collector *c)
dbl_qserror_collectordbl_ILLerror_collector_new (dbl_qsadd_error_fct fct, void *dest)
dbl_qserror_collectordbl_ILLerror_memory_collector_new (dbl_qserror_memory *dest)
dbl_qserror_memorydbl_ILLerror_memory_create (int takeErrorLines)
void dbl_ILLerror_memory_free (dbl_qserror_memory *mem)
int dbl_ILLformat_error_create (dbl_qsformat_error *error, int mode, const char *desc, int lineNum, const char *theLine, int atPos)
void dbl_ILLformat_error_delete (dbl_qsformat_error *error)
void dbl_ILLformat_error_print (EGioFile_t *out, dbl_qsformat_error *error)


Function Documentation

int dbl_ILLadd_error_to_memory ( void *  dest,
const dbl_qsformat_error error 
)

Definition at line 192 of file dbl_format.c.

References dbl_qsformat_error::at, dbl_ILLformat_error_create(), dbl_ILLformat_error_delete(), dbl_qsformat_error::desc, dbl_qserror_memory::error_list, dbl_qserror_memory::has_error, dbl_qserror_memory::hasErrorLines, ILL_CHECKnull, ILL_CLEANUP_IF, ILL_IFFREE, ILL_SAFE_MALLOC, dbl_qsformat_error::lineNumber, dbl_qserror_memory::nerror, dbl_qsformat_error::next, NULL, dbl_qsformat_error::theLine, and dbl_qsformat_error::type.

Here is the call graph for this function:

void dbl_ILLerror_collector_free ( dbl_qserror_collector c  ) 

Definition at line 150 of file dbl_format.c.

References ILL_IFFREE.

dbl_qserror_collector* dbl_ILLerror_collector_new ( dbl_qsadd_error_fct  fct,
void *  dest 
)

Definition at line 125 of file dbl_format.c.

References dbl_qserror_collector::add_error, dbl_qserror_collector::dest, ILL_IFFREE, ILL_SAFE_MALLOC, and NULL.

dbl_qserror_collector* dbl_ILLerror_memory_collector_new ( dbl_qserror_memory dest  ) 

Definition at line 144 of file dbl_format.c.

References dbl_ILLadd_error_to_memory(), and dbl_ILLerror_collector_new().

Here is the call graph for this function:

dbl_qserror_memory* dbl_ILLerror_memory_create ( int  takeErrorLines  ) 

Definition at line 156 of file dbl_format.c.

References dbl_qserror_memory::error_list, dbl_qserror_memory::has_error, dbl_qserror_memory::hasErrorLines, ILL_SAFE_MALLOC, dbl_qserror_memory::nerror, NULL, and QS_INPUT_NERROR.

void dbl_ILLerror_memory_free ( dbl_qserror_memory mem  ) 

Definition at line 174 of file dbl_format.c.

References dbl_qserror_memory::error_list, ILL_IFFREE, dbl_qsformat_error::next, and NULL.

int dbl_ILLformat_error_create ( dbl_qsformat_error error,
int  mode,
const char *  desc,
int  lineNum,
const char *  theLine,
int  atPos 
)

Definition at line 30 of file dbl_format.c.

References dbl_qsformat_error::at, dbl_ILLformat_error_delete(), dbl_qsformat_error::desc, ILL_FAILtrue, ILL_SAFE_MALLOC, dbl_qsformat_error::lineNumber, dbl_qsformat_error::next, NULL, QS_INPUT_NERROR, dbl_qsformat_error::theLine, and dbl_qsformat_error::type.

Here is the call graph for this function:

void dbl_ILLformat_error_delete ( dbl_qsformat_error error  ) 

Definition at line 75 of file dbl_format.c.

References dbl_qsformat_error::desc, ILL_IFFREE, and dbl_qsformat_error::theLine.

void dbl_ILLformat_error_print ( EGioFile_t *  out,
dbl_qsformat_error error 
)

Definition at line 82 of file dbl_format.c.

References dbl_qsformat_error::at, dbl_QSerror_get_desc(), dbl_QSerror_get_line(), dbl_QSerror_get_line_number(), dbl_QSformat_error_type_string(), NULL, and dbl_qsformat_error::type.

Here is the call graph for this function:


Generated on Thu Mar 29 09:33:30 2012 for QSopt_ex by  doxygen 1.4.7