mpq_format.c File Reference

#include "qs_config.h"
#include "mpq_format.h"
#include "mpq_qsopt.h"
#include "mpq_iqsutil.h"

Include dependency graph for mpq_format.c:

Go to the source code of this file.

Functions

int mpq_ILLadd_error_to_memory (void *dest, const mpq_qsformat_error *error)
void mpq_ILLerror_collector_free (mpq_qserror_collector *c)
mpq_qserror_collectormpq_ILLerror_collector_new (mpq_qsadd_error_fct fct, void *dest)
mpq_qserror_collectormpq_ILLerror_memory_collector_new (mpq_qserror_memory *dest)
mpq_qserror_memorympq_ILLerror_memory_create (int takeErrorLines)
void mpq_ILLerror_memory_free (mpq_qserror_memory *mem)
int mpq_ILLformat_error_create (mpq_qsformat_error *error, int mode, const char *desc, int lineNum, const char *theLine, int atPos)
void mpq_ILLformat_error_delete (mpq_qsformat_error *error)
void mpq_ILLformat_error_print (EGioFile_t *out, mpq_qsformat_error *error)


Function Documentation

int mpq_ILLadd_error_to_memory ( void *  dest,
const mpq_qsformat_error error 
)

Definition at line 192 of file mpq_format.c.

References mpq_qsformat_error::at, mpq_qsformat_error::desc, mpq_qserror_memory::error_list, mpq_qserror_memory::has_error, mpq_qserror_memory::hasErrorLines, ILL_CHECKnull, ILL_CLEANUP_IF, ILL_IFFREE, ILL_SAFE_MALLOC, mpq_qsformat_error::lineNumber, mpq_ILLformat_error_create(), mpq_ILLformat_error_delete(), mpq_qserror_memory::nerror, mpq_qsformat_error::next, NULL, mpq_qsformat_error::theLine, and mpq_qsformat_error::type.

Referenced by mpq_ILLerror_memory_collector_new().

Here is the call graph for this function:

void mpq_ILLerror_collector_free ( mpq_qserror_collector c  ) 

Definition at line 150 of file mpq_format.c.

References ILL_IFFREE.

Referenced by mpq_QSerror_collector_free().

mpq_qserror_collector* mpq_ILLerror_collector_new ( mpq_qsadd_error_fct  fct,
void *  dest 
)

Definition at line 125 of file mpq_format.c.

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

Referenced by mpq_ILLerror_memory_collector_new(), and mpq_QSerror_collector_new().

mpq_qserror_collector* mpq_ILLerror_memory_collector_new ( mpq_qserror_memory dest  ) 

Definition at line 144 of file mpq_format.c.

References mpq_ILLadd_error_to_memory(), and mpq_ILLerror_collector_new().

Referenced by mpq_QSerror_memory_collector_new().

Here is the call graph for this function:

mpq_qserror_memory* mpq_ILLerror_memory_create ( int  takeErrorLines  ) 

Definition at line 156 of file mpq_format.c.

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

Referenced by mpq_QSerror_memory_create().

void mpq_ILLerror_memory_free ( mpq_qserror_memory mem  ) 

Definition at line 174 of file mpq_format.c.

References mpq_qserror_memory::error_list, ILL_IFFREE, mpq_qsformat_error::next, and NULL.

Referenced by mpq_QSerror_memory_free().

int mpq_ILLformat_error_create ( mpq_qsformat_error error,
int  mode,
const char *  desc,
int  lineNum,
const char *  theLine,
int  atPos 
)

Definition at line 30 of file mpq_format.c.

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

Referenced by mpq_ILLadd_error_to_memory(), mpq_ILLmsg(), mpq_lp_err(), and mpq_mps_err().

Here is the call graph for this function:

void mpq_ILLformat_error_delete ( mpq_qsformat_error error  ) 

Definition at line 75 of file mpq_format.c.

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

Referenced by mpq_ILLadd_error_to_memory(), mpq_ILLformat_error_create(), mpq_ILLmsg(), mpq_lp_err(), and mpq_mps_err().

void mpq_ILLformat_error_print ( EGioFile_t *  out,
mpq_qsformat_error error 
)

Definition at line 82 of file mpq_format.c.

References mpq_qsformat_error::at, mpq_QSerror_get_desc(), mpq_QSerror_get_line(), mpq_QSerror_get_line_number(), mpq_QSformat_error_type_string(), NULL, and mpq_qsformat_error::type.

Referenced by mpq_QSerror_print().

Here is the call graph for this function:


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