MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / add_options

Method add_options

Source/Utils/cxxopts.hpp:2076–2089  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2074 } // namespace
2075
2076inline
2077void
2078Options::add_options
2079(
2080 const std::string &group,
2081 std::initializer_list<Option> options
2082)
2083{
2084 OptionAdder option_adder(*this, group);
2085 for (const auto &option: options)
2086 {
2087 option_adder(option.opts_, option.desc_, option.value_, option.arg_help_);
2088 }
2089}
2090
2091inline
2092OptionAdder

Callers 1

PrepareOptionsMethod · 0.80

Calls 1

OptionAdderClass · 0.85

Tested by

no test coverage detected