Horizon
Loading...
Searching...
No Matches
tree_writer_fs.hpp
1#pragma once
2#include "tree_writer.hpp"
3#include <fstream>
4#include <set>
5
6namespace horizon {
7class TreeWriterFS : public TreeWriter {
8public:
9 TreeWriterFS(const fs::path &base);
10
11
12private:
13 std::ostream &create_file_internal(const fs::path &path) override;
14 void close_file() override;
15
16 const fs::path base_path;
17 std::ofstream ofstream;
18 std::set<fs::path> created_files;
19};
20} // namespace horizon
Definition tree_writer_fs.hpp:7
Definition tree_writer.hpp:7