Download

Support

List Traversal Functions

Functions that can be used to traverse an Ecore_List. More...

Functions

EAPI void * ecore_list_index_goto (Ecore_List *list, int index)
 Make the current item the item with the given index number.
EAPI void * ecore_list_goto (Ecore_List *list, const void *data)
 Make the current item the node that contains data.
EAPI void * ecore_list_first_goto (Ecore_List *list)
 Make the current item the first item in the list.
EAPI void * ecore_list_last_goto (Ecore_List *list)
 Make the current item the last item in the list.
EAPI int ecore_list_for_each (Ecore_List *list, Ecore_For_Each function, void *user_data)
 Execute function for each node in list.

Detailed Description

Functions that can be used to traverse an Ecore_List.


Function Documentation

EAPI void* ecore_list_first_goto ( Ecore_List *  list  )  [inline]

Make the current item the first item in the list.

Parameters:
list The list.
Returns:
A pointer to the first item on success, NULL on failure

Referenced by ecore_hash_keys().

EAPI int ecore_list_for_each ( Ecore_List *  list,
Ecore_For_Each  function,
void *  user_data 
)

Execute function for each node in list.

Parameters:
list The list.
function The function to pass each node from list to.
Returns:
Returns TRUE on success, FALSE on failure.
EAPI void* ecore_list_goto ( Ecore_List *  list,
const void *  data 
) [inline]

Make the current item the node that contains data.

Parameters:
list The list.
data The data to find.
Returns:
A pointer to data on success, NULL on failure.
EAPI void* ecore_list_index_goto ( Ecore_List *  list,
int  index 
) [inline]

Make the current item the item with the given index number.

Parameters:
list The list.
index The position to move the current item.
Returns:
A pointer to new current item on success, NULL on failure.
EAPI void* ecore_list_last_goto ( Ecore_List *  list  )  [inline]

Make the current item the last item in the list.

Parameters:
list The list.
Returns:
A pointer to the last item on success, NULL on failure.

Copyright © Enlightenment.org

Ecore Documentation Generated: Sat Sep 5 11:39:02 2009