Horizon
horizon-eda-1.3.0
src
board
rule_diffpair.hpp
1
#pragma once
2
#include "common/common.hpp"
3
#include "rules/rule.hpp"
4
#include "rules/rule_match.hpp"
5
6
namespace
horizon {
7
class
RuleDiffpair
:
public
Rule
{
8
public
:
9
RuleDiffpair
(
const
UUID
&uu);
10
RuleDiffpair
(
const
UUID
&uu,
const
json
&j);
11
json
serialize()
const override
;
12
13
std::string get_brief(
const
class
Block
*block =
nullptr
)
const override
;
14
15
UUID
net_class;
16
int
layer = 10000;
17
18
uint64_t
track_width = .2_mm;
19
uint64_t
track_gap = .2_mm;
20
uint64_t
via_gap = .2_mm;
21
};
22
}
// namespace horizon
horizon::Rule
Definition:
rule.hpp:33
horizon::RuleDiffpair
Definition:
rule_diffpair.hpp:7
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
libzip::uint64_t
zip_uint64_t uint64_t
zip_uint64_t_t typedef.
Definition:
zip.hpp:108
Generated by
1.8.20