载入中...
搜索中...
未找到
eve::cmd::DevServerArgs结构体 参考
类 eve::cmd::DevServerArgs 继承关系图:
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 属性

int port = 8765
 

详细描述

在文件 DevServer.cpp287 行定义.

成员函数说明

◆ parse()

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

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

实现了 eve::cmd::Handler.

在文件 DevServer.cpp297 行定义.

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

◆ setup()

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

Registers options on the CLI11 sub-app.

实现了 eve::cmd::Handler.

在文件 DevServer.cpp290 行定义.

引用了 port.

类成员变量说明

◆ port

int eve::cmd::DevServerArgs::port = 8765

在文件 DevServer.cpp288 行定义.

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


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