| Data Structures | |
| struct | ArrayList | 
| Functions | |
| PORTABLE_API ESR_ReturnCode | ArrayListCreate (ArrayList **self) | 
| PORTABLE_API ESR_ReturnCode | ArrayListCreateWithCapacity (ArrayList **self, size_t minCapacity) | 
| PORTABLE_API ESR_ReturnCode | ArrayListAdd (ArrayList *self, void *element) | 
| PORTABLE_API ESR_ReturnCode | ArrayListInsertAt (ArrayList *self, size_t index, void *element) | 
| PORTABLE_API ESR_ReturnCode | ArrayListRemove (ArrayList *self, void *element) | 
| PORTABLE_API ESR_ReturnCode | ArrayListRemoveAtIndex (ArrayList *self, size_t index) | 
| PORTABLE_API ESR_ReturnCode | ArrayListRemoveAll (ArrayList *self) | 
| PORTABLE_API ESR_ReturnCode | ArrayListContains (ArrayList *self, void *element, ESR_BOOL *exists) | 
| PORTABLE_API ESR_ReturnCode | ArrayListGetSize (ArrayList *self, size_t *size) | 
| PORTABLE_API ESR_ReturnCode | ArrayListGet (ArrayList *self, size_t index, void **element) | 
| PORTABLE_API ESR_ReturnCode | ArrayListSet (ArrayList *self, size_t index, void *element) | 
| PORTABLE_API ESR_ReturnCode | ArrayListClone (ArrayList *self, ArrayList *clone) | 
| PORTABLE_API ESR_ReturnCode | ArrayListDestroy (ArrayList *self) | 
| PORTABLE_API ESR_ReturnCode ArrayListAdd | ( | ArrayList * | self, | |
| void * | element | |||
| ) | 
Adds element to list.
| self | ArrayList handle | |
| element | Element to be added | 
| PORTABLE_API ESR_ReturnCode ArrayListClone | ( | ArrayList * | self, | |
| ArrayList * | clone | |||
| ) | 
Returns a clone of the ArrayList.
| self | ArrayList handle | |
| clone | [out] Clone of the ArrayList (created externally, populated internally) | 
| PORTABLE_API ESR_ReturnCode ArrayListContains | ( | ArrayList * | self, | |
| void * | element, | |||
| ESR_BOOL * | exists | |||
| ) | 
Indicates if element is contained within the list.
| self | ArrayList handle | |
| element | Element to check for | |
| exists | True if element was found | 
| PORTABLE_API ESR_ReturnCode ArrayListCreate | ( | ArrayList ** | self | ) | 
| PORTABLE_API ESR_ReturnCode ArrayListCreateWithCapacity | ( | ArrayList ** | self, | |
| size_t | minCapacity | |||
| ) | 
| PORTABLE_API ESR_ReturnCode ArrayListDestroy | ( | ArrayList * | self | ) | 
| PORTABLE_API ESR_ReturnCode ArrayListGet | ( | ArrayList * | self, | |
| size_t | index, | |||
| void ** | element | |||
| ) | 
Returns the element at the specified index.
| self | ArrayList handle | |
| index | Element index | |
| element | Element being returned | 
| PORTABLE_API ESR_ReturnCode ArrayListGetSize | ( | ArrayList * | self, | |
| size_t * | size | |||
| ) | 
Returns array size.
| self | ArrayList handle | |
| size | Returned size | 
| PORTABLE_API ESR_ReturnCode ArrayListInsertAt | ( | ArrayList * | self, | |
| size_t | index, | |||
| void * | element | |||
| ) | 
Inserts an element in the the list at the specified location. This causes all elements above or at the specified location to be shifted by one.
| self | ArrayList handle | |
| index | The index where to insert the element. | |
| element | The element to insert. | 
| PORTABLE_API ESR_ReturnCode ArrayListRemove | ( | ArrayList * | self, | |
| void * | element | |||
| ) | 
Removes element from list.
| self | ArrayList handle | |
| element | Element to be removed | 
| PORTABLE_API ESR_ReturnCode ArrayListRemoveAll | ( | ArrayList * | self | ) | 
Removes all elements from list.
| self | ArrayList handle | 
| PORTABLE_API ESR_ReturnCode ArrayListRemoveAtIndex | ( | ArrayList * | self, | |
| size_t | index | |||
| ) | 
Removes element from list at specified index.
| self | ArrayList handle | |
| index | Index of element to be removed | 
| PORTABLE_API ESR_ReturnCode ArrayListSet | ( | ArrayList * | self, | |
| size_t | index, | |||
| void * | element | |||
| ) | 
Sets the element at the specified index.
NOTE: Does *not* deallocate the element being overwritten.
| self | ArrayList handle | |
| index | Element index | |
| element | Element's new value | 
 1.5.3
 1.5.3