#include <UT_RefArray.h>
Public Types | |
| typedef int(* | Comparator )(const utRef *, const utRef *) |
Public Member Functions | |
| UT_RefArray (unsigned int sz=0) | |
| UT_RefArray (unsigned int sz, unsigned int count) | |
| virtual | ~UT_RefArray (void) |
| void | swap (UT_RefArray &other) |
| UT_RefArray (const UT_RefArray< utRef > &a) | |
| unsigned int | append (void) |
| unsigned int | append (const utRef &t) |
| unsigned int | append (const utRef &t, unsigned short dupliCheck) |
| unsigned int | insert (unsigned int index) |
| unsigned int | insert (const utRef &t, unsigned int index) |
| unsigned int | insert (const utRef &t, unsigned int index, unsigned short dupliCheck) |
| unsigned int | concat (const UT_RefArray< utRef > &a) |
| unsigned int | multipleInsert (unsigned int index, unsigned int count) |
| unsigned int | append (const utRef &t, Comparator compare) |
| unsigned int | insert (const utRef &t, unsigned int index, Comparator compare) |
| unsigned int | sortedInsert (const utRef &t, Comparator compare) |
| void | sortedUnion (const UT_RefArray< utRef > &other, UT_RefArray< utRef > &result, Comparator compare) const |
| unsigned int | heapPush (const utRef &t, Comparator compare) |
| void | heapPop (Comparator compare) |
| utRef & | heapMax () const |
| unsigned int | insertAt (const utRef &t, unsigned int index) |
| int | remove (const utRef &t) |
| int | remove (unsigned int at_index) |
| int | remove (const utRef &t, unsigned short dupliCheck) |
| int | remove (unsigned int at_index, unsigned short dupliCheck) |
| int | remove (const utRef &t, Comparator compare, unsigned short dupliCheck=0) |
| int | remove (unsigned int at_index, Comparator compare, unsigned short dupliCheck=0) |
| int | removeLast () |
| int | shift (unsigned int srcIdx, unsigned int destIdx, unsigned int howMany) |
| void | move (int srcIdx, int destIdx, int howMany) |
| void | cycle (int howMany) |
| int | find (const utRef &t, unsigned int s=0) const |
| int | find (const utRef &t, Comparator compare, unsigned int s=0) const |
| int | find (void *any, Comparator compare, unsigned int s=0) const |
| int | index (const utRef &t) const |
| int | safeIndex (const utRef &t) const |
| void | sort (Comparator compare) |
| void | resize (unsigned int sz, unsigned short copyFlag=1) |
| void | resizeIfNeeded (uint sz, bool copyFlag=true) |
| uint | capacity (void) const |
| int64 | getMemoryUsage () const |
| uint | entries (void) const |
| bool | isEmpty (void) const |
| void | entries (unsigned int ne) |
| void | clear () |
| UT_RefArray< utRef > & | operator= (const UT_RefArray< utRef > &a) |
| int | operator== (const UT_RefArray< utRef > &a) const |
| int | operator!= (const UT_RefArray< utRef > &a) const |
| int | isEqual (const UT_RefArray< utRef > &a, Comparator compare) const |
| utRef & | operator() (unsigned int i) |
| const utRef & | operator() (unsigned int i) const |
| utRef & | operator[] (unsigned int i) |
| const utRef & | operator[] (unsigned int i) const |
| utRef & | last () |
| const utRef & | last () const |
| unsigned int | apply (int(*applyFct)(utRef &t, void *d), void *d) |
| const utRef * | getRawArray (void) const |
SOP/SOP_PrimVOP.C, VEX/VEX_Sort.C, and VRAY/VRAY_DemoVolumeSphere.C.
Definition at line 47 of file UT_RefArray.h.
| typedef int(* UT_RefArray< utRef >::Comparator)(const utRef *, const utRef *) |
Definition at line 49 of file UT_RefArray.h.
| UT_RefArray< utRef >::UT_RefArray | ( | unsigned int | sz = 0 |
) | [inline, explicit] |
Definition at line 52 of file UT_RefArray.h.
| UT_RefArray< utRef >::UT_RefArray | ( | unsigned int | sz, | |
| unsigned int | count | |||
| ) | [inline] |
Definition at line 42 of file UT_RefArray.C.
| UT_RefArray< utRef >::~UT_RefArray | ( | void | ) | [inline, virtual] |
Definition at line 67 of file UT_RefArray.C.
| UT_RefArray< utRef >::UT_RefArray | ( | const UT_RefArray< utRef > & | a | ) | [inline] |
Definition at line 54 of file UT_RefArray.C.
| unsigned int UT_RefArray< utRef >::append | ( | const utRef & | t, | |
| Comparator | compare | |||
| ) | [inline] |
Definition at line 168 of file UT_RefArray.C.
| unsigned int UT_RefArray< utRef >::append | ( | const utRef & | t, | |
| unsigned short | dupliCheck | |||
| ) | [inline] |
Definition at line 140 of file UT_RefArray.C.
| unsigned int UT_RefArray< utRef >::append | ( | const utRef & | t | ) | [inline] |
Definition at line 111 of file UT_RefArray.C.
| unsigned int UT_RefArray< utRef >::append | ( | void | ) | [inline] |
Definition at line 86 of file UT_RefArray.h.
| unsigned int UT_RefArray< utRef >::apply | ( | int(*)(utRef &t, void *d) | applyFct, | |
| void * | d | |||
| ) | [inline] |
Definition at line 764 of file UT_RefArray.C.
| uint UT_RefArray< utRef >::capacity | ( | void | ) | const [inline] |
Definition at line 222 of file UT_RefArray.h.
| void UT_RefArray< utRef >::clear | ( | void | ) | [inline] |
Definition at line 230 of file UT_RefArray.h.
| unsigned int UT_RefArray< utRef >::concat | ( | const UT_RefArray< utRef > & | a | ) | [inline] |
Definition at line 310 of file UT_RefArray.C.
| void UT_RefArray< utRef >::cycle | ( | int | howMany | ) | [inline] |
Definition at line 563 of file UT_RefArray.C.
| void UT_RefArray< utRef >::entries | ( | unsigned int | ne | ) | [inline] |
Definition at line 666 of file UT_RefArray.C.
| uint UT_RefArray< utRef >::entries | ( | void | ) | const [inline] |
Definition at line 224 of file UT_RefArray.h.
| int UT_RefArray< utRef >::find | ( | void * | any, | |
| Comparator | compare, | |||
| unsigned int | s = 0 | |||
| ) | const [inline] |
Definition at line 607 of file UT_RefArray.C.
| int UT_RefArray< utRef >::find | ( | const utRef & | t, | |
| Comparator | compare, | |||
| unsigned int | s = 0 | |||
| ) | const [inline] |
Definition at line 596 of file UT_RefArray.C.
| int UT_RefArray< utRef >::find | ( | const utRef & | t, | |
| unsigned int | s = 0 | |||
| ) | const [inline] |
Definition at line 585 of file UT_RefArray.C.
| int64 UT_RefArray< utRef >::getMemoryUsage | ( | void | ) | const [inline] |
Definition at line 223 of file UT_RefArray.h.
| const utRef* UT_RefArray< utRef >::getRawArray | ( | void | ) | const [inline] |
Definition at line 283 of file UT_RefArray.h.
| utRef& UT_RefArray< utRef >::heapMax | ( | ) | const [inline] |
Definition at line 122 of file UT_RefArray.h.
| void UT_RefArray< utRef >::heapPop | ( | Comparator | compare | ) | [inline] |
Definition at line 296 of file UT_RefArray.C.
| unsigned int UT_RefArray< utRef >::heapPush | ( | const utRef & | t, | |
| Comparator | compare | |||
| ) | [inline] |
Definition at line 281 of file UT_RefArray.C.
| int UT_RefArray< utRef >::index | ( | const utRef & | t | ) | const [inline] |
Definition at line 201 of file UT_RefArray.h.
| unsigned int UT_RefArray< utRef >::insert | ( | const utRef & | t, | |
| unsigned int | index, | |||
| Comparator | compare | |||
| ) | [inline] |
Definition at line 199 of file UT_RefArray.C.
| unsigned int UT_RefArray< utRef >::insert | ( | const utRef & | t, | |
| unsigned int | index, | |||
| unsigned short | dupliCheck | |||
| ) | [inline] |
Definition at line 157 of file UT_RefArray.C.
| unsigned int UT_RefArray< utRef >::insert | ( | const utRef & | t, | |
| unsigned int | index | |||
| ) | [inline] |
Definition at line 149 of file UT_RefArray.C.
| unsigned int UT_RefArray< utRef >::insert | ( | unsigned int | index | ) | [inline] |
Definition at line 84 of file UT_RefArray.C.
| unsigned int UT_RefArray< utRef >::insertAt | ( | const utRef & | t, | |
| unsigned int | index | |||
| ) | [inline] |
Definition at line 358 of file UT_RefArray.C.
| bool UT_RefArray< utRef >::isEmpty | ( | void | ) | const [inline] |
Definition at line 225 of file UT_RefArray.h.
| int UT_RefArray< utRef >::isEqual | ( | const UT_RefArray< utRef > & | a, | |
| Comparator | compare | |||
| ) | const [inline] |
Definition at line 751 of file UT_RefArray.C.
| const utRef& UT_RefArray< utRef >::last | ( | ) | const [inline] |
Definition at line 271 of file UT_RefArray.h.
| utRef& UT_RefArray< utRef >::last | ( | ) | [inline] |
Definition at line 265 of file UT_RefArray.h.
| void UT_RefArray< utRef >::move | ( | int | srcIdx, | |
| int | destIdx, | |||
| int | howMany | |||
| ) | [inline] |
Definition at line 514 of file UT_RefArray.C.
| unsigned int UT_RefArray< utRef >::multipleInsert | ( | unsigned int | index, | |
| unsigned int | count | |||
| ) | [inline] |
Definition at line 326 of file UT_RefArray.C.
| int UT_RefArray< utRef >::operator!= | ( | const UT_RefArray< utRef > & | a | ) | const [inline] |
Definition at line 744 of file UT_RefArray.C.
| const utRef& UT_RefArray< utRef >::operator() | ( | unsigned int | i | ) | const [inline] |
Definition at line 253 of file UT_RefArray.h.
| utRef& UT_RefArray< utRef >::operator() | ( | unsigned int | i | ) | [inline] |
Definition at line 248 of file UT_RefArray.h.
| UT_RefArray< utRef > & UT_RefArray< utRef >::operator= | ( | const UT_RefArray< utRef > & | a | ) | [inline] |
Definition at line 713 of file UT_RefArray.C.
| int UT_RefArray< utRef >::operator== | ( | const UT_RefArray< utRef > & | a | ) | const [inline] |
Definition at line 733 of file UT_RefArray.C.
| const utRef& UT_RefArray< utRef >::operator[] | ( | unsigned int | i | ) | const [inline] |
Definition at line 259 of file UT_RefArray.h.
| utRef & UT_RefArray< utRef >::operator[] | ( | unsigned int | i | ) | [inline] |
Definition at line 699 of file UT_RefArray.C.
| int UT_RefArray< utRef >::remove | ( | unsigned int | at_index, | |
| Comparator | compare, | |||
| unsigned short | dupliCheck = 0 | |||
| ) | [inline] |
Definition at line 161 of file UT_RefArray.h.
| int UT_RefArray< utRef >::remove | ( | const utRef & | t, | |
| Comparator | compare, | |||
| unsigned short | dupliCheck = 0 | |||
| ) | [inline] |
Definition at line 456 of file UT_RefArray.C.
| int UT_RefArray< utRef >::remove | ( | unsigned int | at_index, | |
| unsigned short | dupliCheck | |||
| ) | [inline] |
Definition at line 148 of file UT_RefArray.h.
| int UT_RefArray< utRef >::remove | ( | const utRef & | t, | |
| unsigned short | dupliCheck | |||
| ) | [inline] |
Definition at line 406 of file UT_RefArray.C.
| int UT_RefArray< utRef >::remove | ( | unsigned int | at_index | ) | [inline] |
Definition at line 142 of file UT_RefArray.h.
| int UT_RefArray< utRef >::remove | ( | const utRef & | t | ) | [inline] |
Definition at line 398 of file UT_RefArray.C.
| int UT_RefArray< utRef >::removeLast | ( | void | ) | [inline] |
Definition at line 171 of file UT_RefArray.h.
| void UT_RefArray< utRef >::resize | ( | unsigned int | sz, | |
| unsigned short | copyFlag = 1 | |||
| ) | [inline] |
Definition at line 625 of file UT_RefArray.C.
| void UT_RefArray< utRef >::resizeIfNeeded | ( | uint | sz, | |
| bool | copyFlag = true | |||
| ) | [inline] |
Definition at line 214 of file UT_RefArray.h.
| int UT_RefArray< utRef >::safeIndex | ( | const utRef & | t | ) | const [inline] |
Definition at line 202 of file UT_RefArray.h.
| int UT_RefArray< utRef >::shift | ( | unsigned int | srcIdx, | |
| unsigned int | destIdx, | |||
| unsigned int | howMany | |||
| ) | [inline] |
Definition at line 498 of file UT_RefArray.C.
| void UT_RefArray< utRef >::sort | ( | Comparator | compare | ) | [inline] |
Definition at line 618 of file UT_RefArray.C.
| unsigned int UT_RefArray< utRef >::sortedInsert | ( | const utRef & | t, | |
| Comparator | compare | |||
| ) | [inline] |
Definition at line 210 of file UT_RefArray.C.
| void UT_RefArray< utRef >::sortedUnion | ( | const UT_RefArray< utRef > & | other, | |
| UT_RefArray< utRef > & | result, | |||
| Comparator | compare | |||
| ) | const [inline] |
Definition at line 234 of file UT_RefArray.C.
| void UT_RefArray< utRef >::swap | ( | UT_RefArray< utRef > & | other | ) | [inline] |
Definition at line 74 of file UT_RefArray.C.
1.5.9