2 #include "nlohmann/json_fwd.hpp"
3 #include "util/uuid.hpp"
8 class RuleMatchKeepout {
11 RuleMatchKeepout(
const json &j);
12 json serialize()
const;
13 std::string get_brief(
const class Block *block =
nullptr)
const;
14 void cleanup(
const class Block *block);
15 bool match(
const class KeepoutContour *contour)
const;
17 enum class Mode { ALL, KEEPOUT_CLASS, COMPONENT };
18 Mode mode = Mode::ALL;
20 std::string keepout_class;
a class to store JSON values
Definition: json.hpp:166
basic_json<> json
default JSON class
Definition: json_fwd.hpp:61