| 99 | } |
| 100 | |
| 101 | std::vector<std::string> splitToStringVec(std::string const& s, char separator) |
| 102 | { |
| 103 | std::vector<std::string> splitted; |
| 104 | |
| 105 | for (size_t start = 0; start < s.length();) |
| 106 | { |
| 107 | size_t separatorIndex = s.find(separator, start); |
| 108 | if (separatorIndex == std::string::npos) |
| 109 | { |
| 110 | separatorIndex = s.length(); |
| 111 | } |
| 112 | splitted.emplace_back(s.substr(start, separatorIndex - start)); |
| 113 | start = separatorIndex + 1; |
| 114 | } |
| 115 | |
| 116 | return splitted; |
| 117 | } |
| 118 | |
| 119 | bool broadcastIOFormats(std::vector<IOFormat> const& formats, size_t nbBindings, bool isInput /*= true*/) |
| 120 | { |
no test coverage detected