| 116 | } |
| 117 | |
| 118 | void ConfigCommand::WriteClassJson(std::ostream& out, const ParamClass& cls, int indent) |
| 119 | { |
| 120 | out << "{\n"; |
| 121 | for (int i = 0; i < cls.GetEntryCount(); i++) |
| 122 | { |
| 123 | if (i > 0) |
| 124 | out << ",\n"; |
| 125 | WriteEntryJson(out, cls.GetEntry(i), indent + 1); |
| 126 | } |
| 127 | out << "\n" << Indent(indent) << "}"; |
| 128 | } |
| 129 | |
| 130 | void ConfigCommand::CollectStrings(const ParamClass& cls, const std::string& path, const std::string& prefix, |
| 131 | std::vector<std::pair<std::string, std::string>>& out) |
nothing calls this directly
no test coverage detected