|
TPCCLIB
|
Status information for library functions. More...
#include "tpcclibConfig.h"#include <stdio.h>#include <stdlib.h>#include <time.h>#include <string.h>#include "tpcextensions.h"Go to the source code of this file.
Functions | |
| char * | errorMsg (tpcerror e) |
| void | statusPrint (FILE *fp, TPCSTATUS *s) |
| void | statusInit (TPCSTATUS *s) |
| void | statusFree (TPCSTATUS *s) |
| void | statusSet (TPCSTATUS *s, const char *func, const char *srcfile, int srcline, tpcerror error) |
Status information for library functions.
Definition in file statusmsg.c.
| char * errorMsg | ( | tpcerror | e | ) |
Return pointer to error message specified with the error code.
| e | Error code |
Definition at line 68 of file statusmsg.c.
Referenced by imgRead(), and nloptIATGO().
| void statusFree | ( | TPCSTATUS * | s | ) |
After last use, free any memory allocated in the structure.
| s | Pointer to status. |
Definition at line 126 of file statusmsg.c.
| void statusInit | ( | TPCSTATUS * | s | ) |
Before first use, initialize the structure contents using this function. After last use of status structure, call statusFree(), which also calls this function to re-initiate the structure contents.
| s | Pointer to status. |
Definition at line 104 of file statusmsg.c.
Referenced by statusFree().
| void statusPrint | ( | FILE * | fp, |
| TPCSTATUS * | s ) |
Print the contents of status structure.
| fp | File pointer for the output. |
| s | Pointer to status. |
Definition at line 82 of file statusmsg.c.
| void statusSet | ( | TPCSTATUS * | s, |
| const char * | func, | ||
| const char * | srcfile, | ||
| int | srcline, | ||
| tpcerror | error ) |
Set the status contents.
| s | Pointer to status. |
| func | Pointer to function name, usually func. |
| srcfile | Pointer to source file name, usually FILE. |
| srcline | Pointer to source file line number, usually LINE. |
| error | Error code, 0 if status is ok. |
Definition at line 142 of file statusmsg.c.
Referenced by abssWrite(), anaExists(), bfm1TCM(), bfmSRTM(), csvPutLine(), csvPutLineWithSpaces(), csvRead(), csvReorg(), csvWrite(), dcmFileList(), dcmFileRead(), dcmFileRemove(), dcmFileWrite(), dcmMListRead(), dcmmlSortByPlane(), ecatMListRead(), ecatReadMainheader(), ecatWriteMainheader(), iftCopyItems(), iftDeleteDuplicateKeys(), iftPut(), iftPutFromString(), iftPutFromStringWithSpaceSeparator(), iftRead(), iftReplaceKey(), iftReplaceValue(), iftWrite(), iftWriteItem(), imgAllocate(), imgCompareConc(), imgCompareTimes(), imgCompareUnit(), imgFillOHeader(), imgRead(), imgReadDICOM(), imgReadNifti(), imgWrite(), imgWriteDICOM(), imgWriteNifti(), micropetExists(), micropetHeaderRead(), mtgaPlotSVG(), niftiExists(), nlopt1D(), nloptIATGO(), nloptITGO1(), nloptITGO2(), nloptMPSO(), nloptPowellBrent(), nloptSimplex(), nloptSimplexARRS(), parAllocateWithTAC(), parCombineTACs(), parCompareParameterNames(), parCompareParameters(), parCompareParameterUnits(), parCompareTacNames(), parCompareWSS(), parExamplePerfectBolus(), parExampleTTACs(), parFromIFT(), parRead(), parReadCSV(), parReadFIT(), parReadRES(), parSelectByAnother(), parSelectParameters(), parSelectTACs(), parSortByName(), parToIFT(), parWrite(), parWriteCSV(), parWriteFIT(), parWriteIFT(), parWriteRES(), parWriteXML(), roinameMatch(), sifWeight(), spectralDExp(), spectralKRange(), tacAddZeroSample(), tacAllocateWithPAR(), tacAUC(), tacCompareConc(), tacCompareNames(), tacCompareTimes(), tacCompareUnit(), tacCompareWeights(), tacCorrectFrameOverlap(), tacDecayCorrection(), tacDelay(), tacFittime(), tacFormatDetermine(), tacFramesToSteps(), tacGetHeaderInjectiontime(), tacGetHeaderIsotope(), tacGetHeaderScanstarttime(), tacGetHeaderStudynr(), tacGetHeaderTimeunit(), tacGetHeaderUnit(), tacInput2sim(), tacIntegrate(), tacInterpolate(), tacInterpolateInto(), tacInterpolateToEqualLengthFrames(), tacPlotFitSVG(), tacPlotHistogramSVG(), tacPlotLineSVG(), tacRead(), tacRead4DM(), tacReadAllogg(), tacReadCarimasTxt(), tacReadCSV(), tacReadDFT(), tacReadGEMS(), tacReadHRPLUSHC(), tacReadHRRTHC(), tacReadInveonCSV(), tacReadMat(), tacReadModelingData(), tacReadModelingInput(), tacReadOldAllogg(), tacReadPMOD(), tacReadQView(), tacReadReference(), tacReadScanditronics(), tacReadSIF(), tacReadSimple(), tacSelectTACs(), tacSetWeights(), tacSetX(), tacSortByAUC(), tacSortByConc(), tacSortByName(), tacSortByTime(), tacToPAR(), tacVb(), tacVerifyTimeOrder(), tacWByFreq(), tacWeightModerate(), tacWeightNorm(), tacWMove(), tacWrite(), tacWriteCSV(), tacWriteDFT(), tacWritePMOD(), tacWriteSheetIntoXML(), tacWriteSIF(), tacWriteSimple(), tacWriteXML(), tacXUnitConvert(), tacYUnitConvert(), tacYUnitMass2Volume(), and tacYUnitVolume2Mass().