18 #ifndef __UT_SplayTree_h__
19 #define __UT_SplayTree_h__
31 explicit UT_SplayTree(
int (*fcomp)(
const void *,
const void *));
37 int add(
const void *,
unsigned maxDepth = 0);
41 const void *
remove(
const void * = 0);
62 int traverseBackward(
int (*
func)(
const void *));
63 int traverseBackward(
int (*
func)(
const void *,
void *),
67 const void *
find(
const void *data)
const;
75 void insertNode(utSplayNode *,
unsigned maxDepth);
76 void deleteNode(utSplayNode *);
77 utSplayNode *findNode(
const void *data);
78 utSplayNode *removeHead(utSplayNode **);
79 void splay(utSplayNode *);
80 void splayToDepth(
unsigned);
81 int splayToDepth(utSplayNode *,
unsigned,
unsigned);
84 int (*myFcomp)(
const void *,
const void *);
typedef int(APIENTRYP RE_PFNGLXSWAPINTERVALSGIPROC)(int)
OIIO_FORCEINLINE const vint4 & operator+=(vint4 &a, const vint4 &b)
LeafData & operator=(const LeafData &)=delete
OIIO_FORCEINLINE const vint4 & operator-=(vint4 &a, const vint4 &b)
GU_API ComputeHierarchyResult traverse(const GU_Detail *gdp, GA_OffsetArray &roots, GA_OffsetArray &nodes, GA_OffsetArray &parents, UT_Map< GA_Offset, GA_OffsetArray > *children=nullptr)
ImageBuf OIIO_API add(Image_or_Const A, Image_or_Const B, ROI roi={}, int nthreads=0)
FMT_CONSTEXPR auto find(Ptr first, Ptr last, T value, Ptr &out) -> bool