Woolz Image Processing
Version 1.8.3
|
Files | |
file | WlzDebug.c |
Default debugging text and object output functions for the Woolz library flag based debugging system. | |
file | WlzDebug.h |
Defines the Woolz debug masks and function prototypes. | |
file | WlzFacts.c |
Text description (facts) of Woolz objects. | |
file | WlzVersion.c |
Simple Woolz versioning. | |
Enumerations | |
enum | _WlzDbgMask { WLZ_DBG_NONE = (0), WLZ_DBG_LVL_1 = (1), WLZ_DBG_LVL_2 = (1<<1), WLZ_DBG_LVL_3 = (1<<2), WLZ_DBG_LVL_FN = (1<<3), WLZ_DBG_ALLOC = (1<<4) } |
Woolz debug bit masks. Typedef: WlzDbgMask. More... | |
Functions | |
WlzErrorNum | WlzDbgWrite (char *fmt,...) |
Writes out the given debug message to the debug file. More... | |
WlzErrorNum | WlzDbgObjWrite (WlzObject *obj, int freeFlg) |
Writes out the given debug Woolz object to the woolz debug file. More... | |
WlzErrorNum | WlzObjectFacts (WlzObject *obj, FILE *factsFile, char **dstStr, int verbose) |
The external facts interface function. Creates the facts data structure and then produces a text description of the given object. More... | |
const char * | WlzVersion () |
Returns the current version of Woolz. More... | |
enum _WlzDbgMask |
Woolz debug bit masks. Typedef: WlzDbgMask.
WlzErrorNum WlzDbgWrite | ( | char * | fmt, |
... | |||
) |
Writes out the given debug message to the debug file.
fmt | Format for printing message. |
References WLZ_ERR_NONE, WLZ_ERR_UNSPECIFIED, and wlzDbgData.
WlzErrorNum WlzDbgObjWrite | ( | WlzObject * | obj, |
int | freeFlg | ||
) |
Writes out the given debug Woolz object to the woolz debug file.
obj | Woolz debug object for output. |
freeFlg | If non zero free the object after writing it. |
References WLZ_ERR_NONE, WLZ_ERR_UNSPECIFIED, wlzDbgObjData, WlzFreeObj(), and WlzWriteObj().
WlzErrorNum WlzObjectFacts | ( | WlzObject * | obj, |
FILE * | factsFile, | ||
char ** | dstStr, | ||
int | verbose | ||
) |
The external facts interface function. Creates the facts data structure and then produces a text description of the given object.
obj | The given object. |
factsFile | If non-NULL the text is written to the given file. |
dstStr | If non-NULL the pointer is set to an allocated text string, which should be free'd using AlcFree(). |
verbose | Verbose output if non-zero. |
References AlcMalloc(), WlzObjFactsData::fFile, WlzObjFactsData::fStr, WlzObjFactsData::fStrInc, WlzObjFactsData::fStrLen, WlzObjFactsData::fStrMax, WlzObjFactsData::indent, WlzObjFactsData::verbose, WLZ_ERR_MEM_ALLOC, and WLZ_ERR_NONE.
Referenced by WlzPatchFacts().
const char* WlzVersion | ( | ) |
Returns the current version of Woolz.