Horizon
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
horizon::RuleClearanceCopperOther Class Reference
Inheritance diagram for horizon::RuleClearanceCopperOther:
horizon::Rule

Public Member Functions

RuleID get_id () const override
 
 RuleClearanceCopperOther (const UUID &uu)
 
 RuleClearanceCopperOther (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 pt_copper, PatchType pt_non_copper) const
 
void set_clearance (PatchType pt_copper, PatchType pt_non_copper, 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
 
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_OTHER
 

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::RuleClearanceCopperOther::can_export ( ) const
overridevirtual

Reimplemented from horizon::Rule.

◆ get_brief()

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

Implements horizon::Rule.

◆ get_id()

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

Implements horizon::Rule.

◆ is_match_all()

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

Reimplemented from horizon::Rule.

◆ serialize()

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

Reimplemented from horizon::Rule.


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