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 CObArray

CObject
   |
   +--CObArray

   in AFXCOLL.H

class CObArray
extends CObject


Inner Classes, Typedefs, and Enums
typedef CObArray::BASE_ARG_TYPE
          
typedef CObArray::BASE_TYPE
          
 
Field Summary
protected int m_nGrowBy
          
protected int m_nMaxSize
          
protected int m_nSize
          
protected CObject** m_pData
          
   
Fields inherited from class CObject
classCObject
 
Constructor Summary
CObArray()
          
~CObArray()
          
 
Method Summary
 int Add( CObject* newElement )
          
 int Append( const CObArray& src )
          
 void Copy( const CObArray& src )
          
 CObject*& ElementAt( int nIndex )
          
 void FreeExtra()
          
 CObject* GetAt( int nIndex ) const
          
 const CObject** GetData() const
          
 int GetSize() const
          
 int GetUpperBound() const
          
 void InsertAt( int nStartIndex, CObArray* pNewArray )
          
 void InsertAt( int nIndex, CObject* newElement, int nCount = 1 )
          
 CObject* operator[]( int nIndex ) const
          
 void RemoveAll()
          
 void RemoveAt( int nIndex, int nCount = 1 )
          
 void Serialize( CArchive& )
          
 void SetAt( int nIndex, CObject* newElement )
          
 void SetAtGrow( int nIndex, CObject* newElement )
          
 void SetSize( int nNewSize, int nGrowBy =-1 )
          
   
Methods inherited from class CObject
GetRuntimeClass, new, new, delete, IsSerializable, IsKindOf, Serialize
 

Field Detail

m_nGrowBy

protected int m_nGrowBy;

m_nMaxSize

protected int m_nMaxSize;

m_nSize

protected int m_nSize;

m_pData

protected CObject** m_pData;


Constructor Detail

CObArray

public CObArray();

~CObArray

public ~CObArray();


Method Detail

Add

public int Add( CObject* newElement );

Append

public int Append( const CObArray& src );

Copy

public void Copy( const CObArray& src );

ElementAt

public CObject*& ElementAt( int nIndex );

FreeExtra

public void FreeExtra();

GetAt

public CObject* GetAt( int nIndex ) const;

GetData

public const CObject** GetData() const;

GetSize

public int GetSize() const;

GetUpperBound

public int GetUpperBound() const;

InsertAt

public void InsertAt( int nStartIndex, CObArray* pNewArray );

InsertAt

public void InsertAt( int nIndex, CObject* newElement, int nCount = 1 );

operator[]

public CObject* operator[]( int nIndex ) const;

RemoveAll

public void RemoveAll();

RemoveAt

public void RemoveAt( int nIndex, int nCount = 1 );

Serialize

public void Serialize( CArchive& );

SetAt

public void SetAt( int nIndex, CObject* newElement );

SetAtGrow

public void SetAtGrow( int nIndex, CObject* newElement );

SetSize

public void SetSize( int nNewSize, int nGrowBy =-1 );

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