MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / read

Method read

src/common/ConfigFileManager.cpp:88–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86
87
88bool ConfigFileManager::read(const std::string& filename) {
89 std::istream* stream = FILEMGR.createDataInStream(filename);
90 if (stream == NULL) {
91 return false;
92 }
93 bool ret = parse(*stream);
94 delete stream;
95 return ret;
96}
97
98
99void ConfigFileManager::read(std::istream& stream) {

Callers

nothing calls this directly

Calls 2

createDataInStreamMethod · 0.80
parseFunction · 0.50

Tested by

no test coverage detected