| 707 | } |
| 708 | |
| 709 | void ProjectFile::readInputFile(const std::string& name, std::ostream& str) |
| 710 | { |
| 711 | Base::FileInfo fi(extractInputFile(name)); |
| 712 | if (fi.exists()) { |
| 713 | Base::ifstream file(fi, std::ios::in | std::ios::binary); |
| 714 | file >> str.rdbuf(); |
| 715 | file.close(); |
| 716 | fi.deleteFile(); |
| 717 | } |
| 718 | } |
| 719 | |
| 720 | // Read the given input file from the zip directly into the given stream (not using a temporary |
| 721 | // file) |
nothing calls this directly
no test coverage detected