home     download     screen shots     bugs     mailing list     example output     generated MFC docs     help     tools and utilities


 Overview   Project   Class   Tree   Index 
MFC Class Library
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

MFC
Class CObList

CObject
   |
   +--CObList

   in AFXCOLL.H

class CObList
extends CObject


Inner Classes, Typedefs, and Enums
typedef CObList::BASE_ARG_TYPE
          
typedef CObList::BASE_TYPE
          
struct CObList::CNode
          
 
Field Summary
protected int m_nBlockSize
          
protected int m_nCount
          
protected struct CPlex* m_pBlocks
          
protected CObList::CNode* m_pNodeFree
          
protected CObList::CNode* m_pNodeHead
          
protected CObList::CNode* m_pNodeTail
          
   
Fields inherited from class CObject
classCObject
 
Constructor Summary
CObList( int nBlockSize = 10 )
          
~CObList()
          
 
Method Summary
 void AddHead( CObList* pNewList )
          
 POSITION AddHead( CObject* newElement )
          
 POSITION AddTail( CObject* newElement )
          
 void AddTail( CObList* pNewList )
          
 POSITION Find( CObject* searchValue, POSITION startAfter = NULL ) const
          
 POSITION FindIndex( int nIndex ) const
          
protected void FreeNode( CObList::CNode* )
          
 CObject* GetAt( POSITION position ) const
          
 int GetCount() const
          
 CObject* GetHead() const
          
 POSITION GetHeadPosition() const
          
 CObject* GetNext( POSITION& rPosition ) const
          
 CObject* GetPrev( POSITION& rPosition ) const
          
 CObject* GetTail() const
          
 POSITION GetTailPosition() const
          
 POSITION InsertAfter( POSITION position, CObject* newElement )
          
 POSITION InsertBefore( POSITION position, CObject* newElement )
          
 BOOL IsEmpty() const
          
protected CObList::CNode* NewNode( CObList::CNode*, CObList::CNode* )
          
 void RemoveAll()
          
 void RemoveAt( POSITION position )
          
 CObject* RemoveHead()
          
 CObject* RemoveTail()
          
 void Serialize( CArchive& )
          
 void SetAt( POSITION pos, CObject* newElement )
          
   
Methods inherited from class CObject
GetRuntimeClass, new, new, delete, IsSerializable, IsKindOf, Serialize
 

Field Detail

m_nBlockSize

protected int m_nBlockSize;

m_nCount

protected int m_nCount;

m_pBlocks

protected struct CPlex* m_pBlocks;

m_pNodeFree

protected CObList::CNode* m_pNodeFree;

m_pNodeHead

protected CObList::CNode* m_pNodeHead;

m_pNodeTail

protected CObList::CNode* m_pNodeTail;


Constructor Detail

CObList

public CObList( int nBlockSize = 10 );

~CObList

public ~CObList();


Method Detail

AddHead

public void AddHead( CObList* pNewList );

AddHead

public POSITION AddHead( CObject* newElement );

AddTail

public POSITION AddTail( CObject* newElement );

AddTail

public void AddTail( CObList* pNewList );

Find

public POSITION Find( CObject* searchValue, POSITION startAfter = NULL ) const;

FindIndex

public POSITION FindIndex( int nIndex ) const;

FreeNode

protected void FreeNode( CObList::CNode* );

GetAt

public CObject* GetAt( POSITION position ) const;

GetCount

public int GetCount() const;

GetHead

public CObject* GetHead() const;

GetHeadPosition

public POSITION GetHeadPosition() const;

GetNext

public CObject* GetNext( POSITION& rPosition ) const;

GetPrev

public CObject* GetPrev( POSITION& rPosition ) const;

GetTail

public CObject* GetTail() const;

GetTailPosition

public POSITION GetTailPosition() const;

InsertAfter

public POSITION InsertAfter( POSITION position, CObject* newElement );

InsertBefore

public POSITION InsertBefore( POSITION position, CObject* newElement );

IsEmpty

public BOOL IsEmpty() const;

NewNode

protected CObList::CNode* NewNode( CObList::CNode*, CObList::CNode* );

RemoveAll

public void RemoveAll();

RemoveAt

public void RemoveAt( POSITION position );

RemoveHead

public CObject* RemoveHead();

RemoveTail

public CObject* RemoveTail();

Serialize

public void Serialize( CArchive& );

SetAt

public void SetAt( POSITION pos, CObject* newElement );

 Overview   Project   Class   Tree   Index 
MFC Class Library
CppDoc v2.4.1
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD