Main Page | Class Hierarchy | Data Structures | File List | Data Fields | Globals

cbItemList Class Reference

#include <cblist.h>

Inheritance diagram for cbItemList:

Inheritance graph
Collaboration diagram for cbItemList:

Collaboration graph

Public Member Functions

 cbItemList ()
virtual ~cbItemList ()
void Clear ()
cbsint Add (void *p_data, cbsint tag=0)
cbbool Insert (cbsint id, void *p_data, cbsint tag=0)
cbbool Delete (cbsint id)
void * GetItem (cbsint id)
cbsint GetTag (cbsint id)
void SetTag (cbsint id, cbsint val)
cbsint GetCount ()
void * operator[] (cbsint id)
virtual void DeleteUserData (void *p_data)

Protected Member Functions

sLIST_ITEMfindItem (cbsint id)
sLIST_ITEMfindFromStart (cbsint id)
sLIST_ITEMfindFromEnd (cbsint id)

Protected Attributes

cbsint m_count
cbItemListCache m_cache

Constructor & Destructor Documentation

cbItemList::cbItemList  )  [inline]

virtual cbItemList::~cbItemList  )  [inline, virtual]

Member Function Documentation

cbsint cbItemList::Add void *  p_data,
cbsint  tag = 0

void cbItemList::Clear  ) 

Reimplemented in cbStringList.

cbbool cbItemList::Delete cbsint  id  ) 

Reimplemented in cbStringList.

virtual void cbItemList::DeleteUserData void *  p_data  )  [inline, virtual]

Reimplemented in cbStringList.

sLIST_ITEM * cbItemList::findFromEnd cbsint  id  )  [protected]

sLIST_ITEM * cbItemList::findFromStart cbsint  id  )  [protected]

sLIST_ITEM * cbItemList::findItem cbsint  id  )  [protected]

cbsint cbItemList::GetCount  )  [inline]

Reimplemented in cbStringList.

void * cbItemList::GetItem cbsint  id  ) 

cbsint cbItemList::GetTag cbsint  id  ) 

Reimplemented in cbStringList.

cbbool cbItemList::Insert cbsint  id,
void *  p_data,
cbsint  tag = 0

void* cbItemList::operator[] cbsint  id  )  [inline]

Reimplemented in cbStringList.

void cbItemList::SetTag cbsint  id,
cbsint  val

Reimplemented in cbStringList.

Field Documentation

cbItemListCache cbItemList::m_cache [protected]

cbsint cbItemList::m_count [protected]

sLIST_ITEM* cbItemList::m_p_lastItem [protected]

sLIST_ITEM* cbItemList::m_p_rootItem [protected]

The documentation for this class was generated from the following files:
Generated on Mon Mar 8 23:30:13 2004 for CBCCL by doxygen 1.3.4