Horizon
Loading...
Searching...
No Matches
src
board
rule_via_definitions.hpp
1
#pragma once
2
#include "common/common.hpp"
3
#include "rules/rule.hpp"
4
#include "via_definition.hpp"
5
6
namespace
horizon {
7
class
RuleViaDefinitions :
public
Rule {
8
public
:
9
static
const
auto
id
= RuleID::VIA_DEFINITIONS;
10
RuleID get_id()
const override
11
{
12
return
id;
13
}
14
15
RuleViaDefinitions();
16
RuleViaDefinitions(
const
json &j,
const
RuleImportMap
&import_map);
17
json serialize()
const override
;
18
19
std::string get_brief(
const
class
Block
*block =
nullptr
,
class
IPool
*pool =
nullptr
)
const override
;
20
bool
can_export()
const override
21
{
22
return
true
;
23
}
24
25
std::map<UUID, ViaDefinition> via_definitions;
26
};
27
}
// 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
Generated by
1.15.0