#include "cpl_port.h"
Go to the source code of this file.
Classes | |
struct | _CPLList |
Typedefs | |
typedef _CPLList | CPLList |
Functions | |
CPLList * | CPLListAppend (CPLList *psList, void *pData) |
CPLList * | CPLListInsert (CPLList *psList, void *pData, int nPosition) |
CPLList * | CPLListGetLast (CPLList *psList) |
CPLList * | CPLListGet (CPLList *psList, int nPosition) |
int | CPLListCount (CPLList *psList) |
CPLList * | CPLListRemove (CPLList *psList, int nPosition) |
void | CPLListDestroy (CPLList *psList) |
CPLList * | CPLListGetNext (CPLList *psElement) |
void * | CPLListGetData (CPLList *psElement) |
|
List element structure. |
|
Append an object list and return a pointer to the modified list. If the input list is NULL, then a new list is created.
|
|
Return the number of elements in a list.
|
|
Destroy a list. Caller responsible for freeing data objects contained in list elements.
|
|
Return the pointer to the specified element in a list.
|
|
Return pointer to the data object contained in given list element.
|
|
Return the pointer to last element in a list.
|
|
Return the pointer to next element in a list.
|
|
Insert an object into list at specified position (zero based). If the input list is NULL, then a new list is created.
|
|
Remone the element from the specified position (zero based) in a list. Data object contained in removed element must be freed by the caller first.
|