Horizon
rule_plane.hpp
1 #pragma once
2 #include "common/common.hpp"
3 #include "plane.hpp"
4 #include "rules/rule.hpp"
5 #include "rules/rule_match.hpp"
6 
7 namespace horizon {
8 class RulePlane : public Rule {
9 public:
10  RulePlane(const UUID &uu);
11  RulePlane(const UUID &uu, const json &j);
12  json serialize() const override;
13 
14  std::string get_brief(const class Block *block = nullptr) const;
15 
16  RuleMatch match;
17  int layer = 10000;
18 
19  PlaneSettings settings;
20 };
21 } // namespace horizon
a class to store JSON values
Definition: json.hpp:161
Definition: rule_plane.hpp:8
Definition: rule_match.hpp:8
Definition: rule.hpp:26
A block is one level of hierarchy in the netlist.
Definition: block.hpp:26
This class encapsulates a UUID and allows it to be uses as a value type.
Definition: uuid.hpp:16
Definition: block.cpp:9
Definition: plane.hpp:9