⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 atsvaritem.h

📁 AtScript 1.1 一个很好用的脚本引擎,可以很方便的在你的软件中实现脚本功能,支持用户扩展对象
💻 H
字号:
// 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"
#include "AtsObj.h"
#include "AtsObjPtr.h"

class CAtsObject;

////////////////////////////////////////////////////
// 变量对象
// 系统变量以 @@ 开头
// 用户变量以 @  开头
// 对象变更没 @
////////////////////////////////////////////////////
class  CAtsVarItem : public CAtsObj  
{
public:
	CAtsVarItem();
	virtual ~CAtsVarItem();

	DWORD						m_nFlag;
	CAtsString					m_strName;
	CAtsValue					m_vData;
	
	int			GetVarType();
	void		GetValueData( CAtsValue *pValue );
	static int	GetVarType( CAtsString strType );
	LPCTSTR		GetDataToStr();
	void		SetData( CAtsVarItem *pSItem );
	void		SetData( CAtsValue *pData );
	void		SetValueName( LPCTSTR strNam , int nType );

	operator = ( const CAtsVarItem &Item );
};

#endif // !defined(AFX_ATVARITEM_H__C9A509AF_558D_4B13_8D83_3908B87FE349__INCLUDED_)

⌨️ 快捷键说明

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