| 21 | } |
| 22 | |
| 23 | std::vector<std::string> split_pipe(const std::string & value) { |
| 24 | std::vector<std::string> out; |
| 25 | std::stringstream stream(value); |
| 26 | std::string item; |
| 27 | while (std::getline(stream, item, '|')) { |
| 28 | out.push_back(trim(item)); |
| 29 | } |
| 30 | return out; |
| 31 | } |
| 32 | |
| 33 | std::vector<float> split_float_list(const std::string & value, const char * option_name) { |
| 34 | std::vector<float> out; |
no test coverage detected