Horizon
odb_output_settings.hpp
1 #pragma once
2 #include "common/common.hpp"
3 #include "common/lut.hpp"
4 #include "nlohmann/json_fwd.hpp"
5 #include "util/uuid.hpp"
6 
7 namespace horizon {
8 using json = nlohmann::json;
9 
11 public:
12  ODBOutputSettings(const json &);
14  {
15  }
16  json serialize() const;
17  void update_for_board(const class Board &brd);
18 
19  enum class Format { DIRECTORY, TGZ, ZIP };
20 
21  Format format = Format::TGZ;
22 
23  std::string job_name;
24 
25  std::string output_filename;
26  std::string output_directory;
27 };
28 } // namespace horizon
Definition: board.hpp:47
Definition: odb_output_settings.hpp:10
a class to store JSON values
Definition: json.hpp:177
basic_json<> json
default JSON class
Definition: json_fwd.hpp:62