| 298 | } |
| 299 | |
| 300 | inline void |
| 301 | splitString(const std::string &str, std::vector<std::string> &strVec, char splitChar) { |
| 302 | std::stringstream ss(str); |
| 303 | std::string iter; |
| 304 | while (std::getline(ss, iter, splitChar)) { |
| 305 | strVec.push_back(iter); |
| 306 | } |
| 307 | } |
| 308 | |
| 309 | |
| 310 | template<typename T> |
no test coverage detected