| 28 | } |
| 29 | |
| 30 | void ConfigFile::extractKey(std::string &key, size_t const &sepPos, const std::string &line) const |
| 31 | { |
| 32 | key = line.substr(0, sepPos); |
| 33 | if (key.find('\t') != line.npos || key.find(' ') != line.npos) |
| 34 | key.erase(key.find_first_of("\t ")); |
| 35 | } |
| 36 | void ConfigFile::extractValue(std::string &value, size_t const &sepPos, const std::string &line) const |
| 37 | { |
| 38 | value = line.substr(sepPos + 1); |
nothing calls this directly
no outgoing calls
no test coverage detected