11 #ifndef __UT_ThingList__
12 #define __UT_ThingList__
47 bool ordered =
false);
49 bool ordered =
false)
const;
51 const UT_Hash **namep,
bool ordered =
false)
const;
53 bool ordered =
false);
55 bool ordered =
false);
58 bool ordered =
false);
65 unsigned empty()
const;
93 {
return (myCurrEntry == cmp.myCurrEntry); }
95 {
return !(*
this ==
cmp); }
99 myCurrEntry = myCurrEntry->next;
105 myCurrEntry = src.myCurrEntry;
111 : myCurrEntry(sym) { }
void insertThingEntry(UT_ThingEntry &thing_entry, bool ordered)
int traverse(int(*function)(UT_Thing &, const UT_Hash &, void *), void *data) const
int insertEntry(const UT_Hash &name, const UT_Thing &value, bool ordered=false)
#define SYS_DEPRECATED(__V__)
#define UT_SMALLOBJECT_PAGESIZE_DEFAULT
*get result *(waiting if necessary)*A common idiom is to fire a bunch of sub tasks at the and then *wait for them to all complete We provide a helper class
int findEntry(const UT_Hash &name, UT_Thing *valuep, bool ordered=false) const
UT_Thing & getEntry(const UT_Hash &name, int *created=0, bool ordered=false)
#define SYS_DEPRECATED_PUSH_DISABLE()
#define SYS_DEPRECATED_POP_DISABLE()
int64 getMemoryUsage(bool inclusive) const
int operator!=(const traverser &cmp) const
IMATH_HOSTDEVICE constexpr int cmp(T a, T b) IMATH_NOEXCEPT
traverser(const traverser &src)
UT_ThingEntry * removeFirstThingEntry()
#define SYS_DEPRECATED_REPLACE(__V__, __R__)
#define UT_SMALLOBJECT_THREADSAFE_DEFAULT
#define UT_NON_COPYABLE(CLASS)
Define deleted copy constructor and assignment operator inside a class.
GLuint const GLchar * name
int operator==(const traverser &cmp) const
#define UT_SMALLOBJECT_CLEANPAGES_DEFAULT
const UT_Hash & getHashReference(const UT_Hash &name, int *created=0, bool ordered=false)
const traverser & operator=(const traverser &src)
int deleteEntry(const UT_Hash &name, bool ordered=false)