68 rFile.mStream << rContent;
69 rFile.mStream.flush();
74 std::ofstream mStream;
Definition: scoped_file.h:29
ScopedEntry & operator=(const ScopedEntry &rOther)=delete
virtual ~ScopedEntry()
Definition: scoped_file.cpp:26
ScopedEntry(const ScopedEntry &rOther)=delete
ScopedEntry(ScopedEntry &&rOther)=default
ScopedEntry & operator=(ScopedEntry &&rOther)=delete
ScopedEntry(const std::filesystem::path &rPath)
Definition: scoped_file.cpp:21
Class representing a file that follows RAII.
Definition: scoped_file.h:59
~ScopedFile() override
Definition: scoped_file.cpp:52
ScopedFile(const std::filesystem::path &rPath)
Definition: scoped_file.cpp:45
friend ScopedFile & operator<<(ScopedFile &rFile, const T &rContent)
Definition: scoped_file.h:66
string path
Definition: DEM_run_all_benchmarks_analysis.py:10
Definition: distributed_test_case.cpp:24
Class representing a directory that follows RAII.
Definition: scoped_file.h:52
ScopedDirectory(const std::filesystem::path &rPath)
Definition: scoped_file.cpp:38
Class representing a symlink that follows RAII.
Definition: scoped_file.h:80
ScopedSymlink(const std::filesystem::path &rSymlinkPath, const std::filesystem::path &rTargetPath)
Definition: scoped_file.cpp:59