Horizon
Loading...
Searching...
No Matches
horizon::RuleClearanceCopper Class Reference
Inheritance diagram for horizon::RuleClearanceCopper:
horizon::Rule

Public Member Functions

RuleID get_id () const override
 RuleClearanceCopper (const UUID &uu)
 RuleClearanceCopper (const UUID &uu, const json &j, const RuleImportMap &import_map)
json serialize () const override
std::string get_brief (const class Block *block=nullptr, class IPool *pool=nullptr) const override
bool is_match_all () const override
bool can_export () const override
uint64_t get_clearance (PatchType a, PatchType b) const
void set_clearance (PatchType a, PatchType b, uint64_t c)
uint64_t get_max_clearance () const
Public Member Functions inherited from horizon::Rule
 Rule (const UUID &uu)
 Rule (const json &j)
 Rule (const json &j, const RuleImportMap &import_map)
 Rule (const UUID &uu, const json &j)
 Rule (const UUID &uu, const json &j, const RuleImportMap &import_map)
int get_order () const

Public Attributes

RuleMatch match_1
RuleMatch match_2
int layer = 10000
uint64_t routing_offset = 0.05_mm
Public Attributes inherited from horizon::Rule
UUID uuid
bool enabled = true
bool imported = false

Static Public Attributes

static const auto id = RuleID::CLEARANCE_COPPER

Additional Inherited Members

Public Types inherited from horizon::Rule
enum class  SerializeMode { SERIALIZE , EXPORT }
Static Protected Member Functions inherited from horizon::Rule
static std::string layer_to_string (int layer)

Member Function Documentation

◆ can_export()

bool horizon::RuleClearanceCopper::can_export ( ) const
overridevirtual

Reimplemented from horizon::Rule.

◆ get_brief()

std::string horizon::RuleClearanceCopper::get_brief ( const class Block * block = nullptr,
class IPool * pool = nullptr ) const
overridevirtual

Implements horizon::Rule.

◆ get_id()

RuleID horizon::RuleClearanceCopper::get_id ( ) const
inlineoverridevirtual

Implements horizon::Rule.

◆ is_match_all()

bool horizon::RuleClearanceCopper::is_match_all ( ) const
overridevirtual

Reimplemented from horizon::Rule.

◆ serialize()

json horizon::RuleClearanceCopper::serialize ( ) const
overridevirtual

Reimplemented from horizon::Rule.


The documentation for this class was generated from the following files: