MCPcopy Create free account
hub / github.com/BYVoid/OpenCC / SerializeToFile

Method SerializeToFile

src/TextDict.cpp:91–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89LexiconPtr TextDict::GetLexicon() const { return lexicon; }
90
91void TextDict::SerializeToFile(FILE* fp) const {
92 for (const auto& entry : *lexicon) {
93 fprintf(fp, "%s\n", entry->ToString().c_str());
94 }
95}

Callers 3

TEST_FFunction · 0.45
ConvertDictionaryFunction · 0.45
WriteOcd2Function · 0.45

Calls 1

ToStringMethod · 0.45

Tested by 1

TEST_FFunction · 0.36