stringtableelement.h

来自「这是一个用来编译pascal的一个小程序有些还不行但也发了」· C头文件 代码 · 共 38 行

H
38
字号
// StringTableElement.h: interface for the StringTableElement class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_STRINGTABLEELEMENT_H__25F656A2_76BC_4CA3_8C85_5CAB140BFB21__INCLUDED_)
#define AFX_STRINGTABLEELEMENT_H__25F656A2_76BC_4CA3_8C85_5CAB140BFB21__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class StringTableElement  
{
public:
	CString s_name;
	// table elements
	int i_type;

public:
	StringTableElement();
	StringTableElement(int type, CString name);
	virtual ~StringTableElement();

	StringTableElement(StringTableElement &te);
	
	// compare
	bool operator <(StringTableElement te);
	bool operator >(StringTableElement te);
	bool operator ==(StringTableElement te);
	bool operator <=(StringTableElement te);
	bool operator >=(StringTableElement te);

	CString ToString();
	// ToString
};

#endif // !defined(AFX_STRINGTABLEELEMENT_H__25F656A2_76BC_4CA3_8C85_5CAB140BFB21__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?