Creates a hash table with the specified initial size. Use this function if you expect the table to become very large. initialSizeIndex is an array into the (internal) list of possible hash table sizes. Currently only indexes from 0 to 8 are supported. If you specify a higher value here, the maximum allowed value will be used.
void iupTableDestroy
(
Itable *
n
)
Destroys the Itable. This function does also free the memory of strings contained in the table!!!!
Removes the entry at the specified key from the hash table and frees the memory used by it if it is a string...
char* iupTableFirst
(
Itable *
it
)
Key iteration function. Returns a key. To iterate over all keys call iupTableFirst at the first and call iupTableNext in a loop until 0 is returned... Do NOT change the content of the hash table during iteration. During an iteration you can use context with iupTableGetCurr() to access the value of the key very fast.
Returns the value at the current position. The current context is an iterator that is filled by iupTableNext(). iupTableGetCur() is faster then iupTableGet(), so when you want to access an item stored at a key returned by iupTableNext(), use this function instead of iupTableGet().
char* iupTableRemoveCurr
(
Itable *
it
)
Removes the current element and returns the next key. Use this function to remove an element during an iteration.