You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
|
|
|
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
//<2F>ļ<EFBFBD> Name.h
|
|
|
|
|
|
//<2F><>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD>:
|
|
|
|
|
|
//
|
|
|
|
|
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д: 2005-12-07
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
|
|
class AFX_EXT_CLASS CName
|
|
|
|
|
|
{
|
|
|
|
|
|
public:
|
|
|
|
|
|
CName(LPCTSTR lpName=NULL);
|
|
|
|
|
|
virtual ~CName(void);
|
|
|
|
|
|
|
|
|
|
|
|
virtual CString GetName(void);
|
|
|
|
|
|
virtual int SetName(LPCTSTR lpString);
|
|
|
|
|
|
virtual void Clear(void);
|
|
|
|
|
|
virtual void Serialize(CArchive& ar, const short &ver);
|
|
|
|
|
|
|
|
|
|
|
|
void operator=(CName& nm);
|
|
|
|
|
|
void operator=(CString str);
|
|
|
|
|
|
BOOL operator==(CString str);
|
|
|
|
|
|
BOOL IsEmpty(void);
|
|
|
|
|
|
int GetLength(void);
|
|
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
CString name;
|
|
|
|
|
|
};
|