| 2162 | } |
| 2163 | |
| 2164 | inline |
| 2165 | void |
| 2166 | OptionParser::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 | |
| 2180 | inline |
| 2181 | void |