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

Method NewFromFile

src/Config.cpp:738–740  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

736Config::~Config() { delete reinterpret_cast<ConfigInternal*>(internal); }
737
738ConverterPtr Config::NewFromFile(const std::string& fileName) {
739 return NewFromFile(fileName, std::vector<std::string>{}, nullptr);
740}
741
742ConverterPtr
743Config::NewFromFile(const std::string& fileName,

Callers 5

SetUpMethod · 0.45
TEST_FFunction · 0.45
NewInternalDataMethod · 0.45
CommandLineMainFunction · 0.45
OpenccBindingMethod · 0.45

Calls 15

NewFromFileFunction · 0.85
isRegularFileFunction · 0.85
ReadFileUtf8Function · 0.85
ReplaceAllFunction · 0.85
GetResourceMethod · 0.80
NameMethod · 0.80
FindConfigFileMethod · 0.80
ConfigLoadOptionsFunction · 0.70

Tested by 2

SetUpMethod · 0.36
TEST_FFunction · 0.36