| 1571 | } |
| 1572 | |
| 1573 | CLI11_INLINE void App::_parse_stream(std::istream &input) { |
| 1574 | auto values = config_formatter_->from_config(input); |
| 1575 | _parse_config(values); |
| 1576 | increment_parsed(); |
| 1577 | _trigger_pre_parse(values.size()); |
| 1578 | _process(); |
| 1579 | |
| 1580 | // Throw error if any items are left over (depending on settings) |
| 1581 | _process_extras(); |
| 1582 | } |
| 1583 | |
| 1584 | CLI11_INLINE void App::_parse_config(const std::vector<ConfigItem> &args) { |
| 1585 | for(const ConfigItem &item : args) { |
nothing calls this directly
no test coverage detected