libGimbal 0.1.0
C17-Based Extended Standard Library and Cross-Language Runtime Framework
Loading...
Searching...
No Matches
gimbal_tree_set.h File Reference

Go to the source code of this file.

Data Structures

struct  GblTreeSetNode
 
struct  GblTreeSetGroup
 
struct  GblTreeSetPool
 
struct  GblTreeSet
 
struct  GblTreeSetIterator
 

Macros

#define GblTreeSet_construct(...)
 

Typedefs

typedef int(* GblTreeSetCompareFn) (const GblTreeSet *pSelf, const void *, const void *)
 
typedef void(* GblTreeSetDestructFn) (const GblTreeSet *pSelf, void *)
 

Functions

GBL_RESULT GblTreeSet_construct_7 (GblTreeSet *pSelf, size_t entrySize, GblTreeSetCompareFn pFnCompare, GblTreeSetDestructFn pFnDestruct, size_t maxEntries, GblContext *pCtx, void *pUserdata)
 
GBL_RESULT GblTreeSet_construct_6 (GblTreeSet *pSelf, size_t entrySize, GblTreeSetCompareFn pFnCompare, GblTreeSetDestructFn pFnDestruct, size_t maxEntries, GblContext *pCtx)
 
GBL_RESULT GblTreeSet_construct_5 (GblTreeSet *pSelf, size_t entrySize, GblTreeSetCompareFn pFnCompare, GblTreeSetDestructFn pFnDestruct, size_t maxEntries)
 
GBL_RESULT GblTreeSet_construct_4 (GblTreeSet *pSelf, size_t entrySize, GblTreeSetCompareFn pFnCompare, GblTreeSetDestructFn pFnDestruct)
 
GBL_RESULT GblTreeSet_construct_3 (GblTreeSet *pSelf, size_t entrySize, GblTreeSetCompareFn pFnCompare)
 
GBL_RESULT GblTreeSet_destruct (GblTreeSet *pSelf)
 
size_t GblTreeSet_size (const GblTreeSet *pSelf)
 
size_t GblTreeSet_height (const GblTreeSet *pSelf)
 
GblContextGblTreeSet_context (const GblTreeSet *pSelf)
 
GblBool GblTreeSet_empty (const GblTreeSet *pSelf)
 
void * GblTreeSet_userdata (const GblTreeSet *pSelf)
 
void * GblTreeSet_get (const GblTreeSet *pSelf, const void *pKey)
 
void * GblTreeSet_getHint (const GblTreeSet *pSelf, const void *pKey, uint64_t *pHint)
 
void * GblTreeSet_at (const GblTreeSet *pSelf, const void *pKey)
 
void * GblTreeSet_atHint (const GblTreeSet *pSelf, const void *pKey, uint64_t *pHint)
 
GblBool GblTreeSet_contains (const GblTreeSet *pSelf, const void *pKey)
 
size_t GblTreeSet_count (const GblTreeSet *pSelf, const void *pKey)
 
void * GblTreeSet_set (GblTreeSet *pSelf, const void *pEntry)
 
void * GblTreeSet_setHint (GblTreeSet *pSelf, const void *pEntry, uint64_t *pHint)
 
void * GblTreeSet_popMax (GblTreeSet *pSelf)
 
void * GblTreeSet_popMin (GblTreeSet *pSelf)
 
void * GblTreeSet_min (const GblTreeSet *pSelf)
 
void * GblTreeSet_max (const GblTreeSet *pSelf)
 
GblBool GblTreeSet_erase (GblTreeSet *pSelf, const void *pKey)
 
void * GblTreeSet_extract (GblTreeSet *pSelf, const void *pKey)
 
void GblTreeSet_clear (GblTreeSet *pSelf)
 

Detailed Description

GblHashSet structure and related functions.

Author
Josh Baker
2023 Falco Girgis

Definition in file gimbal_tree_set.h.

Macro Definition Documentation

◆ GblTreeSet_construct

#define GblTreeSet_construct (   ...)

Definition at line 99 of file gimbal_tree_set.h.

Typedef Documentation

◆ GblTreeSetCompareFn

typedef int(* GblTreeSetCompareFn) (const GblTreeSet *pSelf, const void *, const void *)

Definition at line 21 of file gimbal_tree_set.h.

◆ GblTreeSetDestructFn

typedef void(* GblTreeSetDestructFn) (const GblTreeSet *pSelf, void *)

Definition at line 22 of file gimbal_tree_set.h.