#include <wxlist.h>

Public Member Functions | |
| CBaseList (TCHAR *pName, INT iItems) | |
| CBaseList (TCHAR *pName) | |
| ~CBaseList () | |
| void | RemoveAll () |
| POSITION | GetHeadPositionI () const |
| POSITION | GetTailPositionI () const |
| int | GetCountI () const |
| POSITION | Next (POSITION pos) const |
| POSITION | Prev (POSITION pos) const |
| BOOL | AddTail (CBaseList *pList) |
| BOOL | AddHead (CBaseList *pList) |
| BOOL | AddAfter (POSITION p, CBaseList *pList) |
| BOOL | AddBefore (POSITION p, CBaseList *pList) |
| BOOL | MoveToTail (POSITION pos, CBaseList *pList) |
| BOOL | MoveToHead (POSITION pos, CBaseList *pList) |
| void | Reverse () |
Protected Member Functions | |
| void * | GetNextI (POSITION &rp) const |
| void * | GetI (POSITION p) const |
| POSITION | FindI (void *pObj) const |
| void * | RemoveHeadI () |
| void * | RemoveTailI () |
| void * | RemoveI (POSITION p) |
| POSITION | AddTailI (void *pObj) |
| POSITION | AddHeadI (void *pObj) |
| POSITION | AddAfterI (POSITION p, void *pObj) |
| POSITION | AddBeforeI (POSITION p, void *pObj) |
Protected Attributes | |
| CNode * | m_pFirst |
| CNode * | m_pLast |
| LONG | m_Count |
Private Member Functions | |
| CBaseList (const CBaseList &refList) | |
| CBaseList & | operator= (const CBaseList &refList) |
Private Attributes | |
| CNodeCache | m_Cache |
Classes | |
| class | CNode |
| class | CNodeCache |
Definition at line 17 of file wxlist.h.
| CBaseList::CBaseList | ( | const CBaseList & | refList | ) | [private] |
Definition at line 20 of file wxlist.cpp.
| CBaseList::CBaseList | ( | TCHAR * | pName | ) |
Definition at line 32 of file wxlist.cpp.
| CBaseList::~CBaseList | ( | ) |
| void CBaseList::RemoveAll | ( | void | ) |
Definition at line 77 of file wxlist.cpp.
References m_Count, m_pFirst, m_pLast, CBaseList::CNode::Next(), and NULL.
Referenced by CEnumPins::Reset(), CAsyncIo::~CAsyncIo(), ~CBaseList(), CCmdQueue::~CCmdQueue(), and CMsgThread::~CMsgThread().
| POSITION CBaseList::GetHeadPositionI | ( | ) | const |
| POSITION CBaseList::GetTailPositionI | ( | ) | const |
| int CBaseList::GetCountI | ( | ) | const |
| void * CBaseList::GetNextI | ( | POSITION & | rp | ) | const [protected] |
Definition at line 110 of file wxlist.cpp.
References ASSERT, CBaseList::CNode::GetData(), CBaseList::CNode::Next(), and NULL.
Referenced by AddTail(), and CGenericList< CAsyncRequest >::GetNext().
| void * CBaseList::GetI | ( | POSITION | p | ) | const [protected] |
Definition at line 135 of file wxlist.cpp.
References CBaseList::CNode::GetData(), and NULL.
Referenced by AddAfter(), AddBefore(), AddHead(), FindI(), and CGenericList< CAsyncRequest >::Get().
| POSITION CBaseList::FindI | ( | void * | pObj | ) | const [protected] |
Definition at line 147 of file wxlist.cpp.
References GetI(), INTERNALTRAVERSELIST, and NULL.
Referenced by CGenericList< CAsyncRequest >::Find().
| void * CBaseList::RemoveHeadI | ( | ) | [protected] |
Definition at line 158 of file wxlist.cpp.
References m_pFirst, and RemoveI().
Referenced by CGenericList< CAsyncRequest >::RemoveHead().
| void * CBaseList::RemoveTailI | ( | ) | [protected] |
Definition at line 165 of file wxlist.cpp.
References m_pLast, and RemoveI().
Referenced by CGenericList< CAsyncRequest >::RemoveTail().
| void * CBaseList::RemoveI | ( | POSITION | p | ) | [protected] |
Definition at line 172 of file wxlist.cpp.
References CBaseList::CNodeCache::AddToCache(), ASSERT, CBaseList::CNode::GetData(), m_Cache, m_Count, m_pFirst, m_pLast, CBaseList::CNode::Next(), NULL, CBaseList::CNode::Prev(), CBaseList::CNode::SetNext(), and CBaseList::CNode::SetPrev().
Referenced by CGenericList< CAsyncRequest >::Remove(), RemoveHeadI(), and RemoveTailI().
| POSITION CBaseList::AddTailI | ( | void * | pObj | ) | [protected] |
Definition at line 217 of file wxlist.cpp.
References m_Cache, m_Count, m_pFirst, m_pLast, NULL, CBaseList::CNodeCache::RemoveFromCache(), CBaseList::CNode::SetData(), CBaseList::CNode::SetNext(), and CBaseList::CNode::SetPrev().
Referenced by AddAfterI(), AddBeforeI(), CGenericList< CAsyncRequest >::AddTail(), and AddTail().
| BOOL CBaseList::AddTail | ( | CBaseList * | pList | ) |
Definition at line 295 of file wxlist.cpp.
References AddTailI(), FALSE, GetHeadPositionI(), GetNextI(), NULL, pos(), and TRUE.
Referenced by CGenericList< CAsyncRequest >::AddTail().
| POSITION CBaseList::AddHeadI | ( | void * | pObj | ) | [protected] |
Definition at line 257 of file wxlist.cpp.
References m_Cache, m_Count, m_pFirst, m_pLast, NULL, CBaseList::CNodeCache::RemoveFromCache(), CBaseList::CNode::SetData(), CBaseList::CNode::SetNext(), and CBaseList::CNode::SetPrev().
Referenced by AddAfterI(), AddBeforeI(), CGenericList< CAsyncRequest >::AddHead(), and AddHead().
| BOOL CBaseList::AddHead | ( | CBaseList * | pList | ) |
Definition at line 308 of file wxlist.cpp.
References AddHeadI(), FALSE, GetI(), INTERNALREVERSETRAVERSELIST, NULL, pos(), and TRUE.
Referenced by CGenericList< CAsyncRequest >::AddHead().
Definition at line 322 of file wxlist.cpp.
References AddHeadI(), AddTailI(), ASSERT, m_Cache, m_Count, m_pLast, CBaseList::CNode::Next(), NULL, CBaseList::CNodeCache::RemoveFromCache(), CBaseList::CNode::SetData(), CBaseList::CNode::SetNext(), and CBaseList::CNode::SetPrev().
Referenced by CGenericList< CAsyncRequest >::AddAfter(), and AddAfter().
Definition at line 366 of file wxlist.cpp.
References AddAfterI(), FALSE, GetI(), INTERNALTRAVERSELIST, NULL, pos(), and TRUE.
Referenced by CGenericList< CAsyncRequest >::AddAfter().
Definition at line 377 of file wxlist.cpp.
References AddHeadI(), AddTailI(), ASSERT, m_Cache, m_Count, m_pFirst, NULL, CBaseList::CNode::Prev(), CBaseList::CNodeCache::RemoveFromCache(), CBaseList::CNode::SetData(), CBaseList::CNode::SetNext(), and CBaseList::CNode::SetPrev().
Referenced by CGenericList< CAsyncRequest >::AddBefore(), and AddBefore().
Definition at line 421 of file wxlist.cpp.
References AddBeforeI(), FALSE, GetI(), INTERNALREVERSETRAVERSELIST, NULL, pos(), and TRUE.
Referenced by CGenericList< CAsyncRequest >::AddBefore().
Definition at line 433 of file wxlist.cpp.
References m_Count, m_pFirst, m_pLast, CBaseList::CNode::Next(), NULL, CBaseList::CNode::Prev(), CBaseList::CNode::SetNext(), CBaseList::CNode::SetPrev(), and TRUE.
Definition at line 477 of file wxlist.cpp.
References m_Count, m_pFirst, m_pLast, CBaseList::CNode::Next(), NULL, CBaseList::CNode::Prev(), CBaseList::CNode::SetNext(), CBaseList::CNode::SetPrev(), and TRUE.
| void CBaseList::Reverse | ( | ) |
Definition at line 522 of file wxlist.cpp.
References m_pFirst, m_pLast, CBaseList::CNode::Next(), NULL, CBaseList::CNode::Prev(), CBaseList::CNode::SetNext(), and CBaseList::CNode::SetPrev().
CNode* CBaseList::m_pFirst [protected] |
Definition at line 110 of file wxlist.h.
Referenced by AddBeforeI(), AddHeadI(), AddTailI(), CGenericList< CAsyncRequest >::GetHeadPosition(), GetHeadPositionI(), MoveToHead(), MoveToTail(), Next(), RemoveAll(), RemoveHeadI(), RemoveI(), and Reverse().
CNode* CBaseList::m_pLast [protected] |
Definition at line 111 of file wxlist.h.
Referenced by AddAfterI(), AddHeadI(), AddTailI(), CGenericList< CAsyncRequest >::GetTailPosition(), GetTailPositionI(), MoveToHead(), MoveToTail(), Prev(), RemoveAll(), RemoveI(), RemoveTailI(), and Reverse().
LONG CBaseList::m_Count [protected] |
Definition at line 112 of file wxlist.h.
Referenced by AddAfterI(), AddBeforeI(), AddHeadI(), AddTailI(), CGenericList< CAsyncRequest >::GetCount(), GetCountI(), MoveToHead(), MoveToTail(), RemoveAll(), and RemoveI().
CNodeCache CBaseList::m_Cache [private] |
Definition at line 116 of file wxlist.h.
Referenced by AddAfterI(), AddBeforeI(), AddHeadI(), AddTailI(), and RemoveI().
1.5.6