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 CStringArray

CObject
   |
   +--CStringArray

   in AFXCOLL.H

class CStringArray
extends CObject


Inner Classes, Typedefs, and Enums
typedef CStringArray::BASE_ARG_TYPE
          
typedef CStringArray::BASE_TYPE
          
 
Field Summary
protected int m_nGrowBy
          
protected int m_nMaxSize
          
protected int m_nSize
          
protected CString* m_pData
          
   
Fields inherited from class CObject
classCObject
 
Constructor Summary
CStringArray()
          
~CStringArray()
          
 
Method Summary
 int Add( LPCTSTR newElement )
          
 int Add( const CString& newElement )
          
 int Append( const CStringArray& src )
          
 void Copy( const CStringArray& src )
          
 CString& ElementAt( int nIndex )
          
 void FreeExtra()
          
 CString GetAt( int nIndex ) const
          
 const CString* GetData() const
          
 int GetSize() const
          
 int GetUpperBound() const
          
 void InsertAt( int nStartIndex, CStringArray* pNewArray )
          
 void InsertAt( int nIndex, LPCTSTR newElement, int nCount = 1 )
          
 void InsertAt( int nIndex, const CString& newElement, int nCount = 1 )
          
protected void InsertEmpty( int nIndex, int nCount )
          
 CString operator[]( int nIndex ) const
          
 void RemoveAll()
          
 void RemoveAt( int nIndex, int nCount = 1 )
          
 void Serialize( CArchive& )
          
 void SetAt( int nIndex, LPCTSTR newElement )
          
 void SetAt( int nIndex, const CString& newElement )
          
 void SetAtGrow( int nIndex, LPCTSTR newElement )
          
 void SetAtGrow( int nIndex, const CString& 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 CString* m_pData;


Constructor Detail

CStringArray

public CStringArray();

~CStringArray

public ~CStringArray();


Method Detail

Add

public int Add( LPCTSTR newElement );

Add

public int Add( const CString& newElement );

Append

public int Append( const CStringArray& src );

Copy

public void Copy( const CStringArray& src );

ElementAt

public CString& ElementAt( int nIndex );

FreeExtra

public void FreeExtra();

GetAt

public CString GetAt( int nIndex ) const;

GetData

public const CString* GetData() const;

GetSize

public int GetSize() const;

GetUpperBound

public int GetUpperBound() const;

InsertAt

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

InsertAt

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

InsertAt

public void InsertAt( int nIndex, const CString& newElement, int nCount = 1 );

InsertEmpty

protected void InsertEmpty( int nIndex, int nCount );

operator[]

public CString 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, LPCTSTR newElement );

SetAt

public void SetAt( int nIndex, const CString& newElement );

SetAtGrow

public void SetAtGrow( int nIndex, LPCTSTR newElement );

SetAtGrow

public void SetAtGrow( int nIndex, const CString& 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