My Project
Public Member Functions | List of all members
CGenericList< OBJECT > Class Template Reference
Inheritance diagram for CGenericList< OBJECT >:
CBaseList

Public Member Functions

 CGenericList (TCHAR *pName, INT iItems, BOOL bLock=TRUE, BOOL bAlert=FALSE)
 
 CGenericList (TCHAR *pName)
 
POSITION GetHeadPosition () const
 
POSITION GetTailPosition () const
 
int GetCount () const
 
OBJECT * GetNext (POSITION &rp) const
 
OBJECT * Get (POSITION p) const
 
OBJECT * GetHead () const
 
OBJECT * RemoveHead ()
 
OBJECT * RemoveTail ()
 
OBJECT * Remove (POSITION p)
 
POSITION AddBefore (POSITION p, OBJECT *pObj)
 
POSITION AddAfter (POSITION p, OBJECT *pObj)
 
POSITION AddHead (OBJECT *pObj)
 
POSITION AddTail (OBJECT *pObj)
 
BOOL AddTail (CGenericList< OBJECT > *pList)
 
BOOL AddHead (CGenericList< OBJECT > *pList)
 
BOOL AddAfter (POSITION p, CGenericList< OBJECT > *pList)
 
BOOL AddBefore (POSITION p, CGenericList< OBJECT > *pList)
 
POSITION Find (OBJECT *pObj) const
 
- Public Member Functions inherited from CBaseList
 CBaseList (TCHAR *pName, INT iItems)
 
 CBaseList (TCHAR *pName)
 
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 ()
 

Additional Inherited Members

- Protected Member Functions inherited from CBaseList
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 inherited from CBaseList
CNodem_pFirst
 
CNodem_pLast
 
LONG m_Count
 

The documentation for this class was generated from the following file: