Horizon
horizon-eda-1.3.0
src
board
rule_layer_pair.hpp
1
#pragma once
2
#include "common/common.hpp"
3
#include "rules/rule.hpp"
4
5
namespace
horizon {
6
class
RuleLayerPair
:
public
Rule
{
7
public
:
8
RuleLayerPair
(
const
UUID
&uu);
9
RuleLayerPair
(
const
UUID
&uu,
const
json
&j);
10
json
serialize()
const override
;
11
12
std::string get_brief(
const
class
Block
*block =
nullptr
)
const override
;
13
14
RuleMatch
match;
15
std::pair<int, int> layers;
16
};
17
}
// namespace horizon
horizon::RuleMatch
Definition:
rule_match.hpp:8
horizon::RuleLayerPair
Definition:
rule_layer_pair.hpp:6
horizon::Rule
Definition:
rule.hpp:33
horizon::Block
A block is one level of hierarchy in the netlist.
Definition:
block.hpp:25
nlohmann::basic_json
a class to store JSON values
Definition:
json.hpp:166
horizon::UUID
This class encapsulates a UUID and allows it to be uses as a value type.
Definition:
uuid.hpp:16
Generated by
1.8.20