Axl List Cursor: Iterator support for the Axl List


Functions

void axl_list_cursor_first (axlListCursor *cursor)
 Allows to configure the cursor to point to the first item of the list (if there are any).
void axl_list_cursor_free (axlListCursor *cursor)
 Deallocates memory used by the cursor.
axlPointer axl_list_cursor_get (axlListCursor *cursor)
 Allows to get current data at the current cursor state.
bool axl_list_cursor_has_item (axlListCursor *cursor)
 Allows to know if the current position has items.
bool axl_list_cursor_has_next (axlListCursor *cursor)
 Allows to check if there are more elements next to the current element pointed by the cursor.
bool axl_list_cursor_has_previous (axlListCursor *cursor)
 Allows to check if there are more elements next to the current element pointed by the cursor.
void axl_list_cursor_last (axlListCursor *cursor)
 Allows to configure the cursor to point to the last item of the list (if there are any).
axlListaxl_list_cursor_list (axlListCursor *cursor)
 Allows to get the reference to the list that is associated to the cursor received.
axlListCursoraxl_list_cursor_new (axlList *list)
 Allows to get a cursor to iterate the list in a linear and efficient way.
void axl_list_cursor_next (axlListCursor *cursor)
 Allows to configure the cursor to point to the next item of the list (if there are any).
void axl_list_cursor_previous (axlListCursor *cursor)
 Allows to configure the cursor to point to the previous item of the list (if there are any).
void axl_list_cursor_remove (axlListCursor *cursor)
 Allows to remove current element pointed by the cursor, maintainig internal state of the cursor, calling to the destroy function associated in the list.
void axl_list_cursor_unlink (axlListCursor *cursor)
 Allows to remove current element pointed by the cursor, maintainig internal state of the cursor.