MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / WriteArrayJson

Method WriteArrayJson

apps/tools/Tools/commands/ConfigCommand.cpp:84–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84void ConfigCommand::WriteArrayJson(std::ostream& out, const ParamEntry& entry)
85{
86 out << "[";
87 for (int i = 0; i < entry.GetSize(); i++)
88 {
89 if (i > 0)
90 out << ", ";
91 WriteArrayValueJson(out, entry[i]);
92 }
93 out << "]";
94}
95
96void ConfigCommand::WriteEntryJson(std::ostream& out, const ParamEntry& entry, int indent)
97{

Callers

nothing calls this directly

Calls 1

GetSizeMethod · 0.45

Tested by

no test coverage detected