CCUnit: CCUnitList.c

[ CCUnit project page ] |  | [ CCUnit home page ]

データ構造 | 型定義 | 関数

# CCUnitList.c

Linked list module implementation. [詳細]

`#include <ccunit/CCUnitList.h>`
CCUnitList.cのインクルード依存関係図

## データ構造
struct | CCUnitListCell
| List Cell class. [詳細]
## 型定義
typedef struct CCUnitListCell | CCUnitListCell
| List Cell class.
## 関数
static CCUnitListCell * | ccunit_newListCell ()
| create new list cell object.
static void | ccunit_deleteListCell (CCUnitListCell *cell)
| delete list cell object.
CCUnitList * | ccunit_initList (CCUnitList *list)
| Initialize list object.
CCUnitList * | ccunit_newList ()
| Create new list object.
void | ccunit_addList (CCUnitList *list, void *contents)
| Add element to list object.
void | ccunit_deleteList (CCUnitList *list, void(*deleteContents)(void *))
| Delete list object.
CCUnitListIterator * | ccunit_initListIterator (const struct CCUnitList *list, struct CCUnitListIterator *it)
| initialize list iterator.
CCUnitListIterator * | ccunit_newListIterator (const struct CCUnitList *list)
| create new list iterator.
bool | ccunit_hasNextListIterator (struct CCUnitListIterator *it)
| Check is there next element of iterator.
void * | ccunit_nextListIterator (struct CCUnitListIterator *it)
| Get next element.
void | ccunit_deleteListIterator (struct CCUnitListIterator *it)
| delete list iterator.

## 説明

Linked list module implementation.

| hosts this site. |  | Send comments to: CCUnit Developer |