载入中...
搜索中...
未找到
eve::cmd::McpArgs结构体 参考
类 eve::cmd::McpArgs 继承关系图:
eve::cmd::Handler

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
 

详细描述

在文件 Mcp.cpp43 行定义.

成员函数说明

◆ parse()

int eve::cmd::McpArgs::parse ( CLI::App &  ,
Cmdline  
)
inlineoverridevirtual

Parses arguments and runs the command; returns the exit code.

实现了 eve::cmd::Handler.

在文件 Mcp.cpp56 行定义.

引用了 eve::cmd::Cmdline::get_remaining(), eve::cmd::Cmdline::McpHost(), port , 以及 root_path.

◆ setup()

void eve::cmd::McpArgs::setup ( CLI::App &  ,
std::shared_ptr< CLI::Formatter >   
)
inlineoverridevirtual

Registers options on the CLI11 sub-app.

实现了 eve::cmd::Handler.

在文件 Mcp.cpp47 行定义.

引用了 port , 以及 root_path.

类成员变量说明

◆ port

int eve::cmd::McpArgs::port = 0

在文件 Mcp.cpp45 行定义.

被这些函数引用 parse() , 以及 setup().

◆ root_path

std::string eve::cmd::McpArgs::root_path

在文件 Mcp.cpp44 行定义.

被这些函数引用 parse() , 以及 setup().


该结构体的文档由以下文件生成: