atsvaritem.h

来自「在你的程序中实现脚本功能,该脚本引擎名为AtScript , 是类似于VBScr」· C头文件 代码 · 共 36 行

H
36
字号
// AtVarItem.h: interface for the CAtsVarItem class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_ATVARITEM_H__C9A509AF_558D_4B13_8D83_3908B87FE349__INCLUDED_)
#define AFX_ATVARITEM_H__C9A509AF_558D_4B13_8D83_3908B87FE349__INCLUDED_

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

#include "AtsDef.h"
#include "AtsCommDef.h"
#include "AtsValue.h"

class ATS_API CAtsVarItem : public CObject  
{
public:
	CAtsVarItem();
	virtual ~CAtsVarItem();

	int				m_nType;
	DWORD			m_nFlag;
	CAtsString		m_strName;
	CAtsString		m_strData;	// 变体数据也放在 strData 中
	
	void SetValueData( CAtsValue *pValue );
	static int GetVarType( CAtsString strType );
	LPCTSTR GetDataToStr();
	void SetData( CAtsVarItem *pSItem );

	operator = ( const CAtsVarItem &Item );
};

#endif // !defined(AFX_ATVARITEM_H__C9A509AF_558D_4B13_8D83_3908B87FE349__INCLUDED_)

⌨️ 快捷键说明

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