Leptonica  1.82.0
Image processing and image analysis suite
L_Heap Struct Reference

#include <heap.h>

Data Fields

l_int32 nalloc
 
l_int32 n
 
void ** array
 
l_int32 direction
 

Detailed Description

Heap of arbitrary void* data

Definition at line 77 of file heap.h.

Field Documentation

◆ array

void** L_Heap::array

◆ direction

l_int32 L_Heap::direction

L_SORT_INCREASING or L_SORT_DECREASING

Definition at line 82 of file heap.h.

Referenced by lheapSwapDown(), and lheapSwapUp().

◆ n

l_int32 L_Heap::n

number of elements stored in the heap

Definition at line 80 of file heap.h.

Referenced by lheapAdd(), lheapDestroy(), lheapGetCount(), lheapGetElement(), lheapPrint(), lheapRemove(), lheapSort(), lheapSortStrictOrder(), lheapSwapDown(), and lheapSwapUp().

◆ nalloc

l_int32 L_Heap::nalloc

size of allocated ptr array

Definition at line 79 of file heap.h.

Referenced by lheapAdd(), lheapExtendArray(), and lheapPrint().


The documentation for this struct was generated from the following file: