Horizon
Loading...
Searching...
No Matches
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
static
const
auto
id
= RuleID::LAYER_PAIR;
9
RuleID get_id()
const override
10
{
11
return
id;
12
}
13
14
RuleLayerPair(
const
UUID
&uu);
15
RuleLayerPair(
const
UUID
&uu,
const
json &j,
const
RuleImportMap
&import_map);
16
json serialize()
const override
;
17
18
std::string get_brief(
const
class
Block
*block =
nullptr
,
class
IPool
*pool =
nullptr
)
const override
;
19
bool
can_export()
const override
;
20
21
RuleMatch
match;
22
std::pair<int, int> layers;
23
};
24
}
// namespace horizon
horizon::Block
A block is one level of hierarchy in the netlist.
Definition
block.hpp:29
horizon::IPool
Definition
ipool.hpp:15
horizon::RuleImportMap
Definition
rule.hpp:38
horizon::RuleMatch
Definition
rule_match.hpp:9
horizon::UUID
This class encapsulates a UUID and allows it to be uses as a value type.
Definition
uuid.hpp:16
Generated by
1.15.0