#include <list.h>
Public Member Functions | |
CList () | |
void | add (void *data) |
int | count () |
void | clear (bool freeData=true) |
void * | removeFirst (bool freeData=true) |
void * | removeLast (bool freeData=true) |
CListItem * | getFirst () |
CListItem * | getLast () |
CListIterator | getIterator () |
Private Attributes | |
int | length |
CListItem * | first |
CListItem * | last |
CList::CList | ( | ) |
void CList::add | ( | void * | data | ) |
int CList::count | ( | ) |
void CList::clear | ( | bool | freeData = true |
) |
void * CList::removeFirst | ( | bool | freeData = true |
) |
void * CList::removeLast | ( | bool | freeData = true |
) |
CListItem * CList::getFirst | ( | ) |
CListItem * CList::getLast | ( | ) |
CListIterator CList::getIterator | ( | ) |
int CList::length [private] |
CListItem* CList::first [private] |
CListItem* CList::last [private] |