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

Method parse_option

Source/Utils/cxxopts.hpp:2164–2178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2162}
2163
2164inline
2165void
2166OptionParser::parse_option
2167(
2168 const std::shared_ptr<OptionDetails>& value,
2169 const std::string& /*name*/,
2170 const std::string& arg
2171)
2172{
2173 auto hash = value->hash();
2174 auto& result = m_parsed[hash];
2175 result.parse(value, arg);
2176
2177 m_sequential.emplace_back(value->long_name(), arg);
2178}
2179
2180inline
2181void

Callers

nothing calls this directly

Calls 2

hashMethod · 0.80
parseMethod · 0.45

Tested by

no test coverage detected