MCPcopy Create free account
hub / github.com/Tencent/TAD_Sim / Option

Method Option

simcore/framework/src/cli/cli.hpp:3643–3646  ·  view source on GitHub ↗

Making an option by hand is not defined, it must be made by the App class

Source from the content-addressed store, hash-verified

3641
3642 /// Making an option by hand is not defined, it must be made by the App class
3643 Option(std::string option_name, std::string option_description, callback_t callback, App *parent)
3644 : description_(std::move(option_description)), parent_(parent), callback_(std::move(callback)) {
3645 std::tie(snames_, lnames_, pname_) = detail::get_names(detail::split_names(option_name));
3646 }
3647
3648 public:
3649 /// @name Basic

Callers

nothing calls this directly

Calls 2

get_namesFunction · 0.85
split_namesFunction · 0.85

Tested by

no test coverage detected