| 198 | } |
| 199 | |
| 200 | std::optional<std::string> Options::get_string_optional(const std::string& option_name) const { |
| 201 | try { |
| 202 | const std::string& option_value = this->string_options.at(option_name); |
| 203 | this->used[option_name] = true; |
| 204 | return option_value; |
| 205 | } |
| 206 | catch(const std::out_of_range&) { |
| 207 | return std::nullopt; |
| 208 | } |
| 209 | } |
| 210 | |
| 211 | OptionType Options::get_option_type(const std::string& option_name) const { |
| 212 | try { |
nothing calls this directly
no outgoing calls
no test coverage detected