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

Method write

src/common/ConfigFileManager.cpp:104–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102
103
104bool ConfigFileManager::write(const std::string& filename) {
105 std::ostream* stream = FILEMGR.createDataOutStream(filename);
106 if (stream == NULL) {
107 return false;
108 }
109 BZDB.write(writeBZDB, stream);
110 KEYMGR.iterate(writeKEYMGR, stream);
111 delete stream;
112 return true;
113}
114
115
116// Local Variables: ***

Callers

nothing calls this directly

Calls 2

createDataOutStreamMethod · 0.80
iterateMethod · 0.45

Tested by

no test coverage detected