🛰️航天仿真算法库 SpaceAST
0.3.1
载入中...
搜索中...
未找到
JScriptExecutor.hpp
浏览该文件的文档.
1
20
21
#pragma once
22
23
#include "AstGlobal.h"
24
#include "ActiveScriptExecutor.hpp"
25
26
AST_NAMESPACE_BEGIN
27
33
class
AST_SCRIPT_API
JScriptExecutor
final:
public
ActiveScriptExecutor
34
{
35
public
:
36
JScriptExecutor
();
37
#ifdef _WIN32
38
// 下面这些重载会隐藏基类同名的其他重载(含字符串字面量重载),需要显式引回
39
using
ScriptExecutor::setVariable;
40
41
errc_t
setVariable
(
StringView
name,
StringView
value)
override
;
42
errc_t
setVariable
(
StringView
name,
double
value)
override
;
43
errc_t
setVariable
(
StringView
name,
int
value)
override
;
44
errc_t
setVariable
(
StringView
name,
bool
value)
override
;
45
#endif
46
};
47
48
51
AST_NAMESPACE_END
52
ast::ActiveScriptExecutor
微软Active系列脚本执行器
定义
ActiveScriptExecutor.hpp:50
ast::ActiveScriptExecutor::setVariable
errc_t setVariable(StringView name, StringView value) override
设置脚本执行器的变量
定义
ActiveScriptExecutor.cpp:53
ast::JScriptExecutor
定义
JScriptExecutor.hpp:34
ast::StringViewBasic< char >
src
AstScript
Foreign
ScriptExecutor
JScriptExecutor.hpp
制作者
1.12.0