载入中...
搜索中...
未找到
eve::cmd::McpArgs结构体 参考
类 eve::cmd::McpArgs 继承关系图:
Public 成员函数 | |
| void | setup (CLI::App &app, std::shared_ptr< CLI::Formatter > formatter) override |
| Registers options on the CLI11 sub-app. | |
| int | parse (CLI::App &app, Cmdline &cmd) override |
| Parses arguments and runs the command; returns the exit code. | |
Public 成员函数 继承自 eve::cmd::Handler | |
| virtual | ~Handler () |
Public 属性 | |
| std::string | root_path |
| int | port = 0 |
详细描述
成员函数说明
◆ parse()
|
inlineoverridevirtual |
Parses arguments and runs the command; returns the exit code.
实现了 eve::cmd::Handler.
引用了 eve::cmd::Cmdline::get_remaining(), eve::cmd::Cmdline::McpHost(), port , 以及 root_path.
◆ setup()
|
inlineoverridevirtual |
Registers options on the CLI11 sub-app.
实现了 eve::cmd::Handler.
类成员变量说明
◆ port
◆ root_path
该结构体的文档由以下文件生成:
- src/engine/cmdline/Mcp.cpp
Public 成员函数 继承自