MCPcopy Create free account
hub / github.com/Project-LemonLime/Project_LemonLime / write

Method write

src/base/LemonConfig.cpp:50–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 }
49
50 void LemonConfigJudge::write(QJsonObject &json) const {
51 WRITE_JSON(json, defaultFullScore);
52 WRITE_JSON(json, defaultTimeLimit);
53 WRITE_JSON(json, defaultMemoryLimit);
54 WRITE_JSON(json, compileTimeLimit);
55 WRITE_JSON(json, specialJudgeTimeLimit);
56 WRITE_JSON(json, fileSizeLimit);
57 WRITE_JSON(json, rejudgeTimes);
58 WRITE_JSON(json, maxJudgingThreads);
59
60 WRITE_JSON(json, defaultInputFileExtension);
61 WRITE_JSON(json, defaultOutputFileExtension);
62 WRITE_JSON(json, diffPath);
63
64 WRITE_JSON(json, inputFileExtensions);
65 WRITE_JSON(json, outputFileExtensions);
66 WRITE_JSON(json, recentContest);
67
68 QJsonArray compilerList;
69 for (const auto compiler : this->compilerList) {
70 QJsonObject obj;
71 compiler->write(obj);
72 compilerList.append(obj);
73 }
74 WRITE_JSON(json, compilerList);
75 }
76
77} // namespace Lemon::base::config

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected