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