| 716 | } |
| 717 | |
| 718 | Result<Enum> Parse(std::string_view enum_val) const { |
| 719 | auto it = parse_map_.find(std::string(enum_val)); |
| 720 | if (it == parse_map_.end()) { |
| 721 | return Status::NotImplemented("The value ", enum_val, |
| 722 | " is not an expected enum value"); |
| 723 | } |
| 724 | return it->second; |
| 725 | } |
| 726 | |
| 727 | std::string ImplementedOptionsAsString( |
| 728 | const std::vector<Enum>& implemented_opts) const { |
no test coverage detected