fp20_format.c File Reference

#include "qs_config.h"
#include "fp20_format.h"
#include "fp20_qsopt.h"
#include "fp20_iqsutil.h"

Include dependency graph for fp20_format.c:

Go to the source code of this file.

Functions

int fp20_ILLadd_error_to_memory (void *dest, const fp20_qsformat_error *error)
void fp20_ILLerror_collector_free (fp20_qserror_collector *c)
fp20_qserror_collectorfp20_ILLerror_collector_new (fp20_qsadd_error_fct fct, void *dest)
fp20_qserror_collectorfp20_ILLerror_memory_collector_new (fp20_qserror_memory *dest)
fp20_qserror_memoryfp20_ILLerror_memory_create (int takeErrorLines)
void fp20_ILLerror_memory_free (fp20_qserror_memory *mem)
int fp20_ILLformat_error_create (fp20_qsformat_error *error, int mode, const char *desc, int lineNum, const char *theLine, int atPos)
void fp20_ILLformat_error_delete (fp20_qsformat_error *error)
void fp20_ILLformat_error_print (EGioFile_t *out, fp20_qsformat_error *error)


Function Documentation

int fp20_ILLadd_error_to_memory ( void *  dest,
const fp20_qsformat_error error 
)

Definition at line 192 of file fp20_format.c.

References fp20_qsformat_error::at, fp20_qsformat_error::desc, fp20_qserror_memory::error_list, fp20_ILLformat_error_create(), fp20_ILLformat_error_delete(), fp20_qserror_memory::has_error, fp20_qserror_memory::hasErrorLines, ILL_CHECKnull, ILL_CLEANUP_IF, ILL_IFFREE, ILL_SAFE_MALLOC, fp20_qsformat_error::lineNumber, fp20_qserror_memory::nerror, fp20_qsformat_error::next, NULL, fp20_qsformat_error::theLine, and fp20_qsformat_error::type.

Here is the call graph for this function:

void fp20_ILLerror_collector_free ( fp20_qserror_collector c  ) 

Definition at line 150 of file fp20_format.c.

References ILL_IFFREE.

fp20_qserror_collector* fp20_ILLerror_collector_new ( fp20_qsadd_error_fct  fct,
void *  dest 
)

Definition at line 125 of file fp20_format.c.

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

fp20_qserror_collector* fp20_ILLerror_memory_collector_new ( fp20_qserror_memory dest  ) 

Definition at line 144 of file fp20_format.c.

References fp20_ILLadd_error_to_memory(), and fp20_ILLerror_collector_new().

Here is the call graph for this function:

fp20_qserror_memory* fp20_ILLerror_memory_create ( int  takeErrorLines  ) 

Definition at line 156 of file fp20_format.c.

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

void fp20_ILLerror_memory_free ( fp20_qserror_memory mem  ) 

Definition at line 174 of file fp20_format.c.

References fp20_qserror_memory::error_list, ILL_IFFREE, fp20_qsformat_error::next, and NULL.

int fp20_ILLformat_error_create ( fp20_qsformat_error error,
int  mode,
const char *  desc,
int  lineNum,
const char *  theLine,
int  atPos 
)

Definition at line 30 of file fp20_format.c.

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

Here is the call graph for this function:

void fp20_ILLformat_error_delete ( fp20_qsformat_error error  ) 

Definition at line 75 of file fp20_format.c.

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

void fp20_ILLformat_error_print ( EGioFile_t *  out,
fp20_qsformat_error error 
)

Definition at line 82 of file fp20_format.c.

References fp20_qsformat_error::at, fp20_QSerror_get_desc(), fp20_QSerror_get_line(), fp20_QSerror_get_line_number(), fp20_QSformat_error_type_string(), NULL, and fp20_qsformat_error::type.

Here is the call graph for this function:


Generated on Thu Mar 29 09:37:50 2012 for QSopt_ex by  doxygen 1.4.7