libSBML C++ API  5.18.0
List.cpp File Reference

Simple, generic list class. More...

Include dependency graph for List.cpp:

Functions

void List_add (List_t *lst, void *item)
 
unsigned int List_countIf (const List_t *lst, ListItemPredicate predicate)
 
void * List_find (const List_t *lst, const void *item1, ListItemComparator comparator)
 
List_tList_findIf (const List_t *lst, ListItemPredicate predicate)
 
void List_free (List_t *lst)
 
void * List_get (const List_t *lst, unsigned int n)
 
void List_prepend (List_t *lst, void *item)
 
void * List_remove (List_t *lst, unsigned int n)
 
unsigned int List_size (const List_t *lst)
 

Detailed Description

Simple, generic list class.

Author
Ben Bornstein

Function Documentation

void List_add ( List_t lst,
void *  item 
)
unsigned int List_countIf ( const List_t lst,
ListItemPredicate  predicate 
)
void* List_find ( const List_t lst,
const void *  item1,
ListItemComparator  comparator 
)
List_t* List_findIf ( const List_t lst,
ListItemPredicate  predicate 
)
void List_free ( List_t lst)
void* List_get ( const List_t lst,
unsigned int  n 
)
void List_prepend ( List_t lst,
void *  item 
)
void* List_remove ( List_t lst,
unsigned int  n 
)
unsigned int List_size ( const List_t lst)