Leptonica  1.83.1
Image processing and image analysis suite
array_internal.h File Reference

Go to the source code of this file.

Data Structures

struct  Numa
 
struct  Numaa
 
struct  L_Dna
 
struct  L_Dnaa
 
struct  L_DnaHash
 
struct  Sarray
 
struct  L_Bytea
 

Macros

#define NUMA_VERSION_NUMBER   1
 
#define DNA_VERSION_NUMBER   1
 
#define SARRAY_VERSION_NUMBER   1
 

Detailed Description

 Contains the following structs:
     struct Numa          array of floats
     struct Numaa
     struct L_Dna         array of doubles
     struct L_Dnaa
     struct L_Dnahash
     struct Sarray        array of C-strings
     struct L_Bytea       array of bytes

 This file can be #included after allheaders.h in source files that
 require direct access to the internal data fields in these structs.

 Here are the non-image-related arrays in leptonica:
 * Numa, L_Dna, L_Ptra, Sarray:
   These have most of the typical operations of vectors, such as add,
   insert, remove and replace.
 * Numaa, L_Dnaa, L_Ptraa:
   These are arrays of float, double and generic pointer arrays.
 * L_Bytea:
   This is an array of bytes, analogous to a C++ string.
 * L_Dnahash:
   This is a simple hashing for integers, used in the jbig2 classifier.

Definition in file array_internal.h.

Macro Definition Documentation

◆ DNA_VERSION_NUMBER

#define DNA_VERSION_NUMBER   1

Dna version for serialization

Definition at line 86 of file array_internal.h.

◆ NUMA_VERSION_NUMBER

#define NUMA_VERSION_NUMBER   1

Numa version for serialization

Definition at line 64 of file array_internal.h.

◆ SARRAY_VERSION_NUMBER

#define SARRAY_VERSION_NUMBER   1

Sarray version for serialization

Definition at line 115 of file array_internal.h.