axl main logo
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
Functions
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). More...
 
void axl_list_cursor_free (axlListCursor *cursor)
 Deallocates memory used by the cursor. More...
 
axlPointer axl_list_cursor_get (axlListCursor *cursor)
 Allows to get current data at the current cursor state. More...
 
axl_bool axl_list_cursor_has_item (axlListCursor *cursor)
 Allows to know if the current position has items. More...
 
axl_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. More...
 
axl_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. More...
 
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). More...
 
axlListaxl_list_cursor_list (axlListCursor *cursor)
 Allows to get the reference to the list that is associated to the cursor received. More...
 
axlListCursoraxl_list_cursor_new (axlList *list)
 Allows to get a cursor to iterate the list in a linear and efficient way. More...
 
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). More...
 
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). More...
 
void axl_list_cursor_remove (axlListCursor *cursor)
 Allows to remove current element pointed by the cursor, maintaining internal state of the cursor, calling to the destroy function associated in the list. More...
 
void axl_list_cursor_unlink (axlListCursor *cursor)
 Allows to remove current element pointed by the cursor, maintaining internal state of the cursor. More...
 

Detailed Description