tesseract  5.0.0-alpha-619-ge9db
clst.h File Reference
#include "lsterr.h"
#include <tesseract/serialis.h>
#include <cstdio>

Go to the source code of this file.

Classes

class  CLIST_LINK
 
class  CLIST
 
class  CLIST_ITERATOR
 

Macros

#define QUOTE_IT(parm)   #parm
 
#define CLISTIZEH_A(CLASSNAME)
 
#define CLISTIZEH_B(CLASSNAME)
 
#define CLISTIZEH_C(CLASSNAME)
 
#define CLISTIZEH(CLASSNAME)
 
#define CLISTIZE(CLASSNAME)
 

Macro Definition Documentation

◆ CLISTIZE

#define CLISTIZE (   CLASSNAME)
Value:
\
/*********************************************************************** \
* CLASSNAME##_c1_zapper \
* \
* A function which can delete a CLASSNAME element. This is passed to the \
* generic deep_clear list member function so that when a list is cleared \
*the \
* elements on the list are properly destroyed from the base class, even \
* though we don't use a virtual destructor function. \
**********************************************************************/ \
\
DLLSYM void CLASSNAME##_c1_zapper( /*delete a link*/ \
void *link) /*link to delete*/ \
{ \
delete (CLASSNAME *)link; \
}

Definition at line 884 of file clst.h.

◆ CLISTIZEH

#define CLISTIZEH (   CLASSNAME)
Value:
\
CLISTIZEH_A(CLASSNAME) \
CLISTIZEH_B(CLASSNAME) \
CLISTIZEH_C(CLASSNAME)

Definition at line 873 of file clst.h.

◆ CLISTIZEH_A

#define CLISTIZEH_A (   CLASSNAME)
Value:
\
extern DLLSYM void CLASSNAME##_c1_zapper( /*delete a link*/ \
void *link); /*link to delete*/ \
\
extern DLLSYM void \
*CLASSNAME##_c1_copier( /*deep copy a link*/ \
void *old_element); /*source link */

Definition at line 791 of file clst.h.

◆ CLISTIZEH_B

#define CLISTIZEH_B (   CLASSNAME)

Definition at line 800 of file clst.h.

◆ CLISTIZEH_C

#define CLISTIZEH_C (   CLASSNAME)

Definition at line 833 of file clst.h.

◆ QUOTE_IT

#define QUOTE_IT (   parm)    #parm

Definition at line 759 of file clst.h.

CLISTIZEH_C
#define CLISTIZEH_C(CLASSNAME)
Definition: clst.h:833
DLLSYM
#define DLLSYM
Definition: platform.h:21
CLISTIZEH_B
#define CLISTIZEH_B(CLASSNAME)
Definition: clst.h:800