Horizon
Loading...
Searching...
No Matches
src
board
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
10
class
ODBOutputSettings
{
11
public
:
12
ODBOutputSettings
(
const
json
&);
13
ODBOutputSettings
()
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
horizon::Board
Definition
board.hpp:47
horizon::ODBOutputSettings
Definition
odb_output_settings.hpp:10
nlohmann::basic_json
a class to store JSON values
Definition
json.hpp:177
nlohmann::json
basic_json<> json
default JSON class
Definition
json_fwd.hpp:62
Generated by
1.9.8