libSBML C++ API  5.20.2
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

◆ List_add()

void List_add ( List_t lst,
void *  item 
)

◆ List_countIf()

unsigned int List_countIf ( const List_t lst,
ListItemPredicate  predicate 
)

◆ List_find()

void* List_find ( const List_t lst,
const void *  item1,
ListItemComparator  comparator 
)

◆ List_findIf()

List_t* List_findIf ( const List_t lst,
ListItemPredicate  predicate 
)

◆ List_free()

void List_free ( List_t lst)

◆ List_get()

void* List_get ( const List_t lst,
unsigned int  n 
)

◆ List_prepend()

void List_prepend ( List_t lst,
void *  item 
)

◆ List_remove()

void* List_remove ( List_t lst,
unsigned int  n 
)

◆ List_size()

unsigned int List_size ( const List_t lst)