Windows C++ Library
Public Member Functions | Private Types | Private Attributes
CStrArray Class Reference

#include <StrArray.hpp>

List of all members.

Public Member Functions

 CStrArray ()
 CStrArray (const CStrArray &oRHS)
 ~CStrArray ()
CStrArrayoperator= (const CStrArray &oRHS)
bool Empty () const
size_t Size () const
const CStringAt (size_t nIndex) const
const CStringoperator[] (size_t nIndex) const
void Set (size_t nIndex, const CString &rString)
size_t Add (const CString &rString)
void Insert (size_t nIndex, const CString &rString)
void Delete (size_t nIndex)
void DeleteAll ()
size_t Find (const tchar *pszString, bool bIgnoreCase=false) const

Private Types

typedef std::vector< CString * > StringVector
 The underlying array type..
typedef
StringVector::const_iterator 
CIter
 A const iterator for the strings vector.

Private Attributes

StringVector m_vStrings
 The underlying collection of strings.

Member Typedef Documentation

typedef std::vector<CString*> CStrArray::StringVector [private]

The underlying array type..

typedef StringVector::const_iterator CStrArray::CIter [private]

A const iterator for the strings vector.


Constructor & Destructor Documentation

CStrArray::CStrArray ( ) [inline]
CStrArray::CStrArray ( const CStrArray oRHS) [inline]
CStrArray::~CStrArray ( ) [inline]

Member Function Documentation

CStrArray & CStrArray::operator= ( const CStrArray oRHS) [inline]
bool CStrArray::Empty ( ) const [inline]
size_t CStrArray::Size ( ) const [inline]
const CString & CStrArray::At ( size_t  nIndex) const [inline]
const CString & CStrArray::operator[] ( size_t  nIndex) const [inline]
void CStrArray::Set ( size_t  nIndex,
const CString rString 
) [inline]
size_t CStrArray::Add ( const CString rString) [inline]
void CStrArray::Insert ( size_t  nIndex,
const CString rString 
) [inline]
void CStrArray::Delete ( size_t  nIndex) [inline]
void CStrArray::DeleteAll ( ) [inline]
size_t CStrArray::Find ( const tchar *  pszString,
bool  bIgnoreCase = false 
) const [inline]

Member Data Documentation

The underlying collection of strings.


The documentation for this class was generated from the following file: