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

Method Convert

src/ConversionChain.cpp:30–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28 : conversions(_conversions) {}
29
30SegmentsPtr ConversionChain::Convert(const SegmentsPtr& input) const {
31 SegmentsPtr output = input;
32 for (auto conversion : conversions) {
33 output = conversion->Convert(output);
34 }
35 return output;
36}
37
38void ConversionChain::AppendConvertedSegment(const char* segment,
39 std::string* output) const {

Callers 1

ConvertWithTraceMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected