MCPcopy Create free account
hub / github.com/GENIVI/CANdevStudio / writeToFile

Function writeToFile

tools/templategen/main.cpp:998–1003  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

996 "name"_a = name, "nameUpper"_a = str_toupper(name), "nameLower"_a = str_tolower(name));
997}
998void writeToFile(const boost::filesystem::path& filename, const std::string& content)
999{
1000 std::ofstream file(filename.string());
1001 file << content;
1002 file.close();
1003}
1004
1005} // namespace
1006

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected