EOS 源代码解读 (2)插件-set_program_options
class application_impl {
public:
application_impl():_app_options("Application Options"){
}
options_description _app_options;//存储命令行和config.ini文件的参数
options_description _cfg_options;//存储config.ini文件的参数
}
void application::set_program_options()
{
for(auto& plug : plugins) {
boost::program_options::options_description plugin_cli_opts("Command Line Options for " + plug
共有 0 条评论