36#include <Inventor/C/basic.h>
37#include <Inventor/SbString.h>
43 typedef int cc_heap_compare_cb(
void * o1,
void * o2);
44 typedef void cc_heap_print_cb(
void * o,
SbString& str);
46 typedef struct cc_heap cc_heap;
48 COIN_DLL_API cc_heap * cc_heap_construct(
unsigned int size,
49 cc_heap_compare_cb * comparecb,
50 SbBool support_remove);
52 COIN_DLL_API
void cc_heap_destruct(cc_heap * h);
53 COIN_DLL_API
void cc_heap_clear(cc_heap * h);
55 COIN_DLL_API
void cc_heap_add(cc_heap * h,
void * o);
56 COIN_DLL_API
void * cc_heap_get_top(cc_heap * h);
57 COIN_DLL_API
void * cc_heap_extract_top(cc_heap * h);
58 COIN_DLL_API
int cc_heap_remove(cc_heap * h,
void * o);
59 COIN_DLL_API
int cc_heap_update(cc_heap * h,
void * o);
60 COIN_DLL_API
unsigned int cc_heap_elements(cc_heap * h);
61 COIN_DLL_API SbBool cc_heap_empty(cc_heap * h);
62 COIN_DLL_API
void cc_heap_print(cc_heap * h, cc_heap_print_cb * printcb,
SbString& str, SbBool printLeveled = FALSE);
The SbString class is a string class with convenience functions for string operations.
Definition SbString.h:52