|
MFC Class Library | ||||||
| FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
CObject | +--CPtrArrayin AFXCOLL.H
| Inner Classes, Typedefs, and Enums | |
typedef |
CPtrArray::BASE_ARG_TYPE
|
typedef |
CPtrArray::BASE_TYPE
|
| Field Summary | |
protected int |
m_nGrowBy
|
protected int |
m_nMaxSize
|
protected int |
m_nSize
|
protected void** |
m_pData
|
| Fields inherited from class CObject |
classCObject |
| Constructor Summary | |
CPtrArray()
|
|
~CPtrArray()
|
|
| Method Summary | |
int |
Add( void* newElement )
|
int |
Append( const CPtrArray& src )
|
void |
Copy( const CPtrArray& src )
|
void*& |
ElementAt( int nIndex )
|
void |
FreeExtra()
|
void* |
GetAt( int nIndex ) const
|
const void** |
GetData() const
|
int |
GetSize() const
|
int |
GetUpperBound() const
|
void |
InsertAt( int nIndex, void* newElement, int nCount = 1 )
|
void |
InsertAt( int nStartIndex, CPtrArray* pNewArray )
|
void* |
operator[]( int nIndex ) const
|
void |
RemoveAll()
|
void |
RemoveAt( int nIndex, int nCount = 1 )
|
void |
SetAt( int nIndex, void* newElement )
|
void |
SetAtGrow( int nIndex, void* newElement )
|
void |
SetSize( int nNewSize, int nGrowBy =-1 )
|
| Methods inherited from class CObject |
GetRuntimeClass, new, new, delete, IsSerializable, IsKindOf, Serialize |
| Field Detail |
protected int m_nGrowBy;
protected int m_nMaxSize;
protected int m_nSize;
protected void** m_pData;
| Constructor Detail |
public CPtrArray();
public ~CPtrArray();
| Method Detail |
public int Add( void* newElement );
public int Append( const CPtrArray& src );
public void Copy( const CPtrArray& src );
public void*& ElementAt( int nIndex );
public void FreeExtra();
public void* GetAt( int nIndex ) const;
public const void** GetData() const;
public int GetSize() const;
public int GetUpperBound() const;
public void InsertAt( int nIndex, void* newElement, int nCount = 1 );
public void InsertAt( int nStartIndex, CPtrArray* pNewArray );
public void* operator[]( int nIndex ) const;
public void RemoveAll();
public void RemoveAt( int nIndex, int nCount = 1 );
public void SetAt( int nIndex, void* newElement );
public void SetAtGrow( int nIndex, void* newElement );
public void SetSize( int nNewSize, int nGrowBy =-1 );
|
MFC Class Library
CppDoc v2.3.1 |
||||||
| FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||