|
|
|
|
// MyStringArray.h: interface for the CMyStringArray class.
|
|
|
|
|
//
|
|
|
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
#if !defined(AFX_MYSTRINGARRAY_H__606CE77F_F408_4BF8_8A79_FB967D9DE1F5__INCLUDED_)
|
|
|
|
|
#define AFX_MYSTRINGARRAY_H__606CE77F_F408_4BF8_8A79_FB967D9DE1F5__INCLUDED_
|
|
|
|
|
|
|
|
|
|
#if _MSC_VER > 1000
|
|
|
|
|
#pragma once
|
|
|
|
|
#endif // _MSC_VER > 1000
|
|
|
|
|
|
|
|
|
|
#ifdef BUILD_UTILITYDLL
|
|
|
|
|
#define UTILITYDLL __declspec(dllexport)
|
|
|
|
|
#else
|
|
|
|
|
#define UTILITYDLL __declspec(dllimport)
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
class UTILITYDLL CMyStringArray : public CStringArray
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
// default constructor
|
|
|
|
|
CMyStringArray();
|
|
|
|
|
|
|
|
|
|
// copy constructor for CMyStringArray data type
|
|
|
|
|
CMyStringArray(const CMyStringArray &rhs);
|
|
|
|
|
|
|
|
|
|
// copy constructor for CStringArray data type
|
|
|
|
|
CMyStringArray(const CStringArray &rhs);
|
|
|
|
|
|
|
|
|
|
// copy constructor for CString data type
|
|
|
|
|
CMyStringArray(const CString &rhs);
|
|
|
|
|
|
|
|
|
|
// copy constructor for char data type
|
|
|
|
|
CMyStringArray(const char *rhs);
|
|
|
|
|
|
|
|
|
|
// default destructor
|
|
|
|
|
virtual ~CMyStringArray();
|
|
|
|
|
|
|
|
|
|
// overload = operator form CMyStringArray to CMyStringArray data type
|
|
|
|
|
CMyStringArray& operator=(const CMyStringArray &rhs);
|
|
|
|
|
|
|
|
|
|
// overload = operator from CStringArray to CMyStringArray data type
|
|
|
|
|
CMyStringArray& operator=(const CStringArray &rhs);
|
|
|
|
|
|
|
|
|
|
// overload = operator from CString to CMyStringArray data type
|
|
|
|
|
CMyStringArray& operator=(const CString &rhs);
|
|
|
|
|
|
|
|
|
|
// overload = operator from char to CStringArray data type
|
|
|
|
|
CMyStringArray& operator=(const char *rhs);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // !defined(AFX_MYSTRINGARRAY_H__606CE77F_F408_4BF8_8A79_FB967D9DE1F5__INCLUDED_)
|