AJA NTV2 SDK  17.6.0.2675
NTV2 SDK 17.6.0.2675
CBaseList Class Reference

#include <wxlist.h>

Inheritance diagram for CBaseList:
[legend]
Collaboration diagram for CBaseList:
[legend]

Classes

class  CNode
 
class  CNodeCache
 

Public Member Functions

 CBaseList (__in_opt LPCTSTR pName, INT iItems)
 
 CBaseList (__in_opt LPCTSTR pName)
 
 ~CBaseList ()
 
void RemoveAll ()
 
__out_opt POSITION GetHeadPositionI () const
 
__out_opt POSITION GetTailPositionI () const
 
int GetCountI () const
 
__out_opt POSITION Next (__in_opt POSITION pos) const
 
__out_opt POSITION Prev (__in_opt POSITION pos) const
 
BOOL AddTail (__in CBaseList *pList)
 
BOOL AddHead (__in CBaseList *pList)
 
BOOL AddAfter (__in_opt POSITION p, __in CBaseList *pList)
 
BOOL AddBefore (__in_opt POSITION p, __in CBaseList *pList)
 
BOOL MoveToTail (__in_opt POSITION pos, __in CBaseList *pList)
 
BOOL MoveToHead (__in_opt POSITION pos, __in CBaseList *pList)
 
void Reverse ()
 

Protected Member Functions

__out void * GetNextI (__inout POSITION &rp) const
 
__out_opt void * GetI (__in_opt POSITION p) const
 
__out void * GetValidI (__in POSITION p) const
 
__out_opt POSITION FindI (__in void *pObj) const
 
__out_opt void * RemoveHeadI ()
 
__out_opt void * RemoveTailI ()
 
__out_opt void * RemoveI (__in_opt POSITION p)
 
__out_opt POSITION AddTailI (__in void *pObj)
 
__out_opt POSITION AddHeadI (__in void *pObj)
 
__out_opt POSITION AddAfterI (__in_opt POSITION p, __in void *pObj)
 
__out_opt POSITION AddBeforeI (__in_opt POSITION p, __in void *pObj)
 

Protected Attributes

CNodem_pFirst
 
CNodem_pLast
 
LONG m_Count
 

Detailed Description

Definition at line 64 of file wxlist.h.

Constructor & Destructor Documentation

◆ CBaseList() [1/2]

CBaseList::CBaseList ( __in_opt LPCTSTR  pName,
INT  iItems 
)

Definition at line 80 of file wxlist.cpp.

◆ CBaseList() [2/2]

CBaseList::CBaseList ( __in_opt LPCTSTR  pName)

Definition at line 92 of file wxlist.cpp.

◆ ~CBaseList()

CBaseList::~CBaseList ( )

Definition at line 135 of file wxlist.cpp.

Member Function Documentation

◆ AddAfter()

BOOL CBaseList::AddAfter ( __in_opt POSITION  p,
__in CBaseList pList 
)

Definition at line 593 of file wxlist.cpp.

◆ AddAfterI()

__out_opt POSITION CBaseList::AddAfterI ( __in_opt POSITION  p,
__in void *  pObj 
)
protected

Definition at line 541 of file wxlist.cpp.

◆ AddBefore()

BOOL CBaseList::AddBefore ( __in_opt POSITION  p,
__in CBaseList pList 
)

Definition at line 661 of file wxlist.cpp.

◆ AddBeforeI()

__out_opt POSITION CBaseList::AddBeforeI ( __in_opt POSITION  p,
__in void *  pObj 
)
protected

Definition at line 611 of file wxlist.cpp.

◆ AddHead()

BOOL CBaseList::AddHead ( __in CBaseList pList)

Definition at line 514 of file wxlist.cpp.

◆ AddHeadI()

__out_opt POSITION CBaseList::AddHeadI ( __in void *  pObj)
protected

Definition at line 444 of file wxlist.cpp.

◆ AddTail()

BOOL CBaseList::AddTail ( __in CBaseList pList)

Definition at line 491 of file wxlist.cpp.

◆ AddTailI()

__out_opt POSITION CBaseList::AddTailI ( __in void *  pObj)
protected

Definition at line 393 of file wxlist.cpp.

◆ FindI()

__out_opt POSITION CBaseList::FindI ( __in void *  pObj) const
protected

Definition at line 275 of file wxlist.cpp.

◆ GetCountI()

int CBaseList::GetCountI ( ) const

Definition at line 205 of file wxlist.cpp.

◆ GetHeadPositionI()

__out_opt POSITION CBaseList::GetHeadPositionI ( ) const

Definition at line 183 of file wxlist.cpp.

◆ GetI()

__out_opt void * CBaseList::GetI ( __in_opt POSITION  p) const
protected

Definition at line 251 of file wxlist.cpp.

◆ GetNextI()

__out void * CBaseList::GetNextI ( __inout POSITION rp) const
protected

Definition at line 217 of file wxlist.cpp.

◆ GetTailPositionI()

__out_opt POSITION CBaseList::GetTailPositionI ( ) const

Definition at line 190 of file wxlist.cpp.

◆ GetValidI()

__out void * CBaseList::GetValidI ( __in POSITION  p) const
protected

Definition at line 263 of file wxlist.cpp.

◆ MoveToHead()

BOOL CBaseList::MoveToHead ( __in_opt POSITION  pos,
__in CBaseList pList 
)

Definition at line 765 of file wxlist.cpp.

◆ MoveToTail()

BOOL CBaseList::MoveToTail ( __in_opt POSITION  pos,
__in CBaseList pList 
)

Definition at line 691 of file wxlist.cpp.

◆ Next()

__out_opt POSITION CBaseList::Next ( __in_opt POSITION  pos) const
inline

Definition at line 261 of file wxlist.h.

◆ Prev()

__out_opt POSITION CBaseList::Prev ( __in_opt POSITION  pos) const
inline

Definition at line 271 of file wxlist.h.

◆ RemoveAll()

void CBaseList::RemoveAll ( )

Definition at line 150 of file wxlist.cpp.

◆ RemoveHeadI()

__out_opt void * CBaseList::RemoveHeadI ( )
protected

Definition at line 292 of file wxlist.cpp.

◆ RemoveI()

__out_opt void * CBaseList::RemoveI ( __in_opt POSITION  p)
protected

Definition at line 332 of file wxlist.cpp.

◆ RemoveTailI()

__out_opt void * CBaseList::RemoveTailI ( )
protected

Definition at line 310 of file wxlist.cpp.

◆ Reverse()

void CBaseList::Reverse ( )

Definition at line 819 of file wxlist.cpp.

Member Data Documentation

◆ m_Count

LONG CBaseList::m_Count
protected

Definition at line 168 of file wxlist.h.

◆ m_pFirst

CNode* CBaseList::m_pFirst
protected

Definition at line 166 of file wxlist.h.

◆ m_pLast

CNode* CBaseList::m_pLast
protected

Definition at line 167 of file wxlist.h.


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