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

📄 atsparam.h

📁 AtScript 1.1 一个很好用的脚本引擎,可以很方便的在你的软件中实现脚本功能,支持用户扩展对象
💻 H
字号:
// AtsParam.h: interface for the CAtsParam class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_ATSPARAM_H__2C044C18_1E34_481B_9D5B_50692C437EF7__INCLUDED_)
#define AFX_ATSPARAM_H__2C044C18_1E34_481B_9D5B_50692C437EF7__INCLUDED_

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

class CAtsEngine;

#include "AtsDef.h"
#include "AtsValue.h"
#include "AtsVarItem.h"

class ATS_API CAtsParam  
{
public:
	CAtsParam();
	virtual ~CAtsParam();

	CAtsVarItem * GetItem( int nIndex );
	void	DetachList();
	BOOL	IsEmpty();
	BOOL	LoadParamData( CAtsString strParams );
	int		DataCmp( CAtsString strData1, CAtsString strData2 );
	LPCTSTR	GetItemData( int nIndex , BOOL bFact = true );
	void	SetReturnData( LPCTSTR sData );
	void	SetReturnData( int     nData );
	void	SetReturnData_Obj( CAtsObject *pObject );

	void	AddItemToHead( CAtsValue *pValue );
	void	SetOutData( int nIndex,  LPCTSTR sData );
	void	SetOutData( int nIndex,  long nData );
	BOOL	SetParamInfo( CAtsString strParamInfo );
	CAtsParam::operator = ( const CAtsParam &Item );

	CAtsEngine				*m_pEng;
	CPtrList				m_listParam;	//变量对象链表: CAtsVarItem
	CAtsValue				m_vReturn;
};

#endif // !defined(AFX_ATSPARAM_H__2C044C18_1E34_481B_9D5B_50692C437EF7__INCLUDED_)

⌨️ 快捷键说明

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