| 206 | } |
| 207 | |
| 208 | void SaveStringsMap(Writer & writer, std::map<std::string, std::string> const & stringsMap, std::string const & tagName, |
| 209 | std::string_view const & indent) |
| 210 | { |
| 211 | if (stringsMap.empty()) |
| 212 | return; |
| 213 | |
| 214 | writer << indent << "<mwm:" << tagName << ">\n"; |
| 215 | for (auto const & p : stringsMap) |
| 216 | { |
| 217 | writer << indent << kIndent2 << "<mwm:value key=\"" << p.first << "\">"; |
| 218 | SaveStringWithCDATA(writer, p.second); |
| 219 | writer << "</mwm:value>\n"; |
| 220 | } |
| 221 | writer << indent << "</mwm:" << tagName << ">\n"; |
| 222 | } |
| 223 | |
| 224 | void SaveCategoryData(Writer & writer, CategoryData const & categoryData, std::string const & extendedServerId, |
| 225 | std::vector<CategoryData> const * compilationData); |
no test coverage detected