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.
31 lines
635 B
C++
31 lines
635 B
C++
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
//Îļþ Name.h
|
|
//Ö÷Òª¹¦ÄÜ:
|
|
//
|
|
//³ÌÐò±àд: 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;
|
|
};
|