|
Windows C++ Library
|
#include <StrArray.hpp>
Public Member Functions | |
| CStrArray () | |
| CStrArray (const CStrArray &oRHS) | |
| ~CStrArray () | |
| CStrArray & | operator= (const CStrArray &oRHS) |
| bool | Empty () const |
| size_t | Size () const |
| const CString & | At (size_t nIndex) const |
| const CString & | operator[] (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. | |
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.
| CStrArray::CStrArray | ( | ) | [inline] |
| CStrArray::CStrArray | ( | const CStrArray & | oRHS | ) | [inline] |
| CStrArray::~CStrArray | ( | ) | [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] |
StringVector CStrArray::m_vStrings [private] |
The underlying collection of strings.
1.7.6.1