🛰️航天仿真算法库 SpaceAST 0.0.1
载入中...
搜索中...
未找到
ast::ChatToolGeneric< Func > 模板类 参考

#include <ChatTool.hpp>

+ 类 ast::ChatToolGeneric< Func > 继承关系图:

Public 成员函数

 ChatToolGeneric (Func func)
 
std::string call (const JsonValue &arguments) override
 
- Public 成员函数 继承自 ast::ChatTool
const std::string & name () const
 
void setName (StringView name)
 
const std::string & description () const
 
void setDescription (StringView description)
 
const JsonValueparameters () const
 
void setParameters (const JsonValue &parameters)
 
JsonValue toJson () const
 

详细描述

template<typename Func>
class ast::ChatToolGeneric< Func >

通用模板封装

成员函数说明

◆ call()

template<typename Func >
std::string ast::ChatToolGeneric< Func >::call ( const JsonValue & arguments)
inlineoverridevirtual

调用工具

参数
arguments函数参数
返回
执行结果

实现了 ast::ChatTool.


该类的文档由以下文件生成: