|
MFC Class Library | ||||||
| FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
CObject | +--CArrayin AFXTEMPL.H
CArray
Field Summary
protected intm_nGrowBy
protected intm_nMaxSize
protected intm_nSize
protected TYPE*m_pData
Fields inherited from class CObject
classCObject
Constructor Summary
CArray()
CArray
~CArray()
Method Summary
AFX_INLINE intAdd( ARG_TYPE newElement )
intAppend( const CArray& src )
voidCopy( const CArray& src )
AFX_INLINE TYPE&ElementAt( int nIndex )
voidFreeExtra()
AFX_INLINE TYPEGetAt( int nIndex ) const
AFX_INLINE const TYPE*GetData() const
AFX_INLINE intGetSize() const
CArray
AFX_INLINE intGetUpperBound() const
voidInsertAt( int nStartIndex, CArray* pNewArray )
voidInsertAt( int nIndex, ARG_TYPE newElement, int nCount = 1 )
AFX_INLINE TYPEoperator[]( int nIndex ) const
AFX_INLINE voidRemoveAll()
voidRemoveAt( int nIndex, int nCount = 1 )
voidSerialize( CArchive& ar )
AFX_INLINE voidSetAt( int nIndex, ARG_TYPE newElement )
voidSetAtGrow( int nIndex, ARG_TYPE newElement )
voidSetSize( 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 TYPE* m_pData;
Constructor Detail
CArray
public CArray();
~CArray
public ~CArray();
Method Detail
Add
public AFX_INLINE int Add( ARG_TYPE newElement );
Append
public int Append( const CArray& src );
Copy
public void Copy( const CArray& src );
ElementAt
public AFX_INLINE TYPE& ElementAt( int nIndex );
FreeExtra
public void FreeExtra();
GetAt
public AFX_INLINE TYPE GetAt( int nIndex ) const;
GetData
public AFX_INLINE const TYPE* GetData() const;
GetSize
public AFX_INLINE int GetSize() const;
GetUpperBound
public AFX_INLINE int GetUpperBound() const;
InsertAt
public void InsertAt( int nStartIndex, CArray* pNewArray );
InsertAt
public void InsertAt( int nIndex, ARG_TYPE newElement, int nCount = 1 );
operator[]
public AFX_INLINE TYPE operator[]( int nIndex ) const;
RemoveAll
public AFX_INLINE void RemoveAll();
RemoveAt
public void RemoveAt( int nIndex, int nCount = 1 );
Serialize
public void Serialize( CArchive& ar );
SetAt
public AFX_INLINE void SetAt( int nIndex, ARG_TYPE newElement );
SetAtGrow
public void SetAtGrow( int nIndex, ARG_TYPE newElement );
SetSize
public void SetSize( int nNewSize, int nGrowBy =-1 );
Overview
Project
Class
Tree
Index
MFC Class Library
CppDoc v2.3.2
FRAMES
NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD