axl main logo
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
Functions
Axl Hash Cursor: Iterator support for the Axl Hash

Functions

void axl_hash_cursor_first (axlHashCursor *cursor)
 Allows to configure the cursor to point to the first item of the hash (if there are any). More...
 
void axl_hash_cursor_free (axlHashCursor *cursor)
 Deallocates memory used by the cursor. More...
 
axlPointer axl_hash_cursor_get_key (axlHashCursor *cursor)
 Allows to get current key at the current cursor state. More...
 
axlPointer axl_hash_cursor_get_value (axlHashCursor *cursor)
 Allows to get current value at the current cursor state. More...
 
axl_bool axl_hash_cursor_has_item (axlHashCursor *cursor)
 Allows to know if the current position has items. More...
 
axl_bool axl_hash_cursor_has_next (axlHashCursor *cursor)
 Allows to check if there are more elements next to the current element pointed by the cursor. More...
 
axlHashaxl_hash_cursor_hash (axlHashCursor *cursor)
 Allows to get the reference to the hash that is associated to the cursor received. More...
 
void axl_hash_cursor_last (axlHashCursor *cursor)
 Allows to configure the cursor to point to the last item of the hash (if there are any). More...
 
axlHashCursoraxl_hash_cursor_new (axlHash *hash)
 Allows to get a cursor to iterate the hash in a linear and efficient way. More...
 
void axl_hash_cursor_next (axlHashCursor *cursor)
 Allows to configure the cursor to point to the next item of the hash (if there are any). More...
 
void axl_hash_cursor_remove (axlHashCursor *cursor)
 Allows to remove current element pointed by the cursor, maintaining internal state of the cursor, calling to the destroy function associated in the hash. More...
 

Detailed Description