39 :
OutputDevice(binary, 0, fullName), myFileStream(nullptr) {
41 if (fullName ==
"/dev/null") {
55 throw IOError(
"Could not build output file '" + fullName +
"' (" + e.
what() +
").");
58 myFileStream =
new std::ofstream(fullName.c_str(), binary ? std::ios::binary : std::ios_base::out);
62 myFileStream =
new std::ofstream(fullName.c_str(), binary ? std::ios::binary : std::ios_base::out);