Horizon
board_rules_import.hpp
1 #pragma once
2 #include "nlohmann/json.hpp"
3 #include "util/uuid.hpp"
4 #include "rules/rules_import_export.hpp"
5 
6 namespace horizon {
7 using json = nlohmann::json;
9 public:
10  BoardRulesImportInfo(const json &j);
11  unsigned int n_inner_layers;
12  std::map<UUID, std::string> net_classes;
13  UUID net_class_default;
14  json rules;
15  const json &get_rules() const override
16  {
17  return rules;
18  }
19 };
20 
21 } // namespace horizon
Definition: board_rules_import.hpp:8
Definition: rules_import_export.hpp:7
This class encapsulates a UUID and allows it to be uses as a value type.
Definition: uuid.hpp:16
a class to store JSON values
Definition: json.hpp:177
basic_json<> json
default JSON class
Definition: json_fwd.hpp:62