#include <oscl_linked_list.h>
Inheritance diagram for Oscl_Linked_List_Base:
Protected Methods | |
virtual | ~Oscl_Linked_List_Base () |
OSCL_IMPORT_REF void | construct (Oscl_Opaque_Type_Alloc_LL *op) |
OSCL_IMPORT_REF void | destroy () |
OSCL_IMPORT_REF int32 | get_first (OsclAny *ele) |
OSCL_IMPORT_REF int32 | get_next (OsclAny *ele) |
OSCL_IMPORT_REF int32 | check_list () |
OSCL_IMPORT_REF int32 | add_element (const OsclAny *new_element) |
OSCL_IMPORT_REF int32 | add_to_front (const OsclAny *new_element) |
OSCL_IMPORT_REF int32 | insert_element (const OsclAny *new_element, int index) |
OSCL_IMPORT_REF int32 | get_element (int32 index, OsclAny *element) |
OSCL_IMPORT_REF int32 | remove_element (const OsclAny *data_to_remove) |
OSCL_IMPORT_REF int32 | get_index (const OsclAny *data) |
OSCL_IMPORT_REF int32 | remove_element (const int32 index_to_remove) |
OSCL_IMPORT_REF int32 | move_to_end (const OsclAny *data_to_move) |
OSCL_IMPORT_REF int32 | move_to_front (const OsclAny *data_to_move) |
Protected Attributes | |
OsclAny * | head |
OsclAny * | tail |
OsclAny * | iterator |
int32 | num_elements |
uint32 | sizeof_T |
|
|
|
Adds new element to the list.if list is already there then it adds element at end of list otherwise it create the list and add the element as first element of list.
|
|
Adds new element at the start of the list.if list is already exist then it adds element at start of list otherwise it create the list and add the element as first element of list.
|
|
Debug routine: Checks the list for elements.
Reimplemented in Oscl_Linked_List< LLClass, Alloc >. |
|
|
|
|
|
Search and returs the element in the list for passed index.
|
|
Return the first element of list in passed parameter,
|
|
Returns the index for requested element.
|
|
Return the next element of list in passed parameter,
|
|
Inserts new element in the list. If the index is past the end of the list it creates the list and add the element as first element of list.
|
|
Moves the element to end of the list
|
|
Moves the element to front of the list
|
|
Removes the element for requested index.
Reimplemented in Oscl_Linked_List< LLClass, Alloc >. |
|
Removes the element from the list.
|
|
|
|
|
|
|
|
|
|
|