Woolz Image Processing  Version 1.8.3
_AlcHeap Struct Reference

A general purpose heap data structure. Typedef: AlcHeap. More...

Data Fields

int nEnt
 
int maxEnt
 
int entInc
 
int entSz
 
int topPriLo
 
void * data
 
void * entries
 

Detailed Description

A general purpose heap data structure. Typedef: AlcHeap.

Field Documentation

◆ nEnt

int _AlcHeap::nEnt

Number of entries in use: incremented when entry inserted, no change is popped, decremented when entry freed.

Referenced by AlcHeapAllEntFree(), AlcHeapEntFree(), AlcHeapInsertEnt(), and AlcHeapTop().

◆ maxEnt

int _AlcHeap::maxEnt

Number of entries allocated.

Referenced by AlcHeapInsertEnt().

◆ entInc

int _AlcHeap::entInc

When allocating space for more entries, allocate space for this many at a time.

Referenced by AlcHeapInsertEnt(), and AlcHeapNew().

◆ entSz

int _AlcHeap::entSz

Size of each heap entry.

Referenced by AlcHeapInsertEnt(), and AlcHeapNew().

◆ topPriLo

int _AlcHeap::topPriLo

If non-zero the top priority is low rather than high. This should be set (default is zero) before any entries are added to the heap.

Referenced by WlzCMeshFMarNodes2D(), and WlzCMeshFMarNodes3D().

◆ data

void* _AlcHeap::data

Application data.

Referenced by AlcHeapNew().

◆ entries

void* _AlcHeap::entries

Allocated heap entries.

Referenced by AlcHeapAllEntFree(), AlcHeapFree(), AlcHeapInsertEnt(), and AlcHeapTop().


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