ValueMap FileUtils::getValueMapFromFile(const std::string& filename) { const std::string fullPath = fullPathForFilename(filename); if (fullPath.empty()) { ValueMap ret; return ret; } DictMaker tMaker; return tMaker.dictionaryWithContentsOfFile(fullPath); }
ValueMap FileUtils::getValueMapFromFile(const std::string& filename) { const std::string fullPath = fullPathForFilename(filename.c_str()); DictMaker tMaker; return tMaker.dictionaryWithContentsOfFile(fullPath.c_str()); }