|
#include <windows.h>
#include <stdio.h>
#include <comdef.h>
#include <shlwapi.h>
enum MyEnum {
mysSysDate = 1,
mysYear = 2,
mysMonth = 3,
mysDay = 4
};
// *********************************************************
// クラス定義
// *********************************************************
class MyString
{
public:
MyString();
MyString( const MyString &obj );
virtual ~MyString();
void operator = ( LPTSTR lpString );
void operator = ( MyString &obj );
void operator = ( MyString *obj );
void operator = ( int nData );
void operator = ( double nData );
void operator = ( MyEnum nType );
operator LPTSTR ();
operator int ();
operator double ();
LPTSTR lpBuff;
};
| |