2 #include "common/common.hpp"
3 #include "rules/rule.hpp"
4 #include "rules/rule_match.hpp"
9 static const auto id = RuleID::CLEARANCE_COPPER_OTHER;
10 RuleID get_id()
const override
17 json serialize()
const override;
19 std::string get_brief(
const class Block *block =
nullptr,
class IPool *pool =
nullptr)
const override;
20 bool is_match_all()
const override;
21 bool can_export()
const override;
23 uint64_t get_clearance(PatchType pt_copper, PatchType pt_non_copper)
const;
24 void set_clearance(PatchType pt_copper, PatchType pt_non_copper,
uint64_t c);
32 std::map<std::pair<PatchType, PatchType>,
uint64_t> clearances;
A block is one level of hierarchy in the netlist.
Definition: block.hpp:29
Definition: rule_clearance_copper_other.hpp:7
Definition: rule_match.hpp:8
This class encapsulates a UUID and allows it to be uses as a value type.
Definition: uuid.hpp:16
a class to store JSON values
Definition: json.hpp:177
zip_uint64_t uint64_t
zip_uint64_t_t typedef.
Definition: zip.hpp:108