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

Public Member Functions

RuleID get_id () const override
 RuleClearanceSameNet (const UUID &uu)
 RuleClearanceSameNet (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
int64_t get_clearance (PatchType a, PatchType b) const
void set_clearance (PatchType a, PatchType b, int64_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
Public Attributes inherited from horizon::Rule
UUID uuid
bool enabled = true
bool imported = false

Static Public Attributes

static const auto id = RuleID::CLEARANCE_SAME_NET

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

Reimplemented from horizon::Rule.

◆ get_brief()

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

Implements horizon::Rule.

◆ get_id()

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

Implements horizon::Rule.

◆ is_match_all()

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

Reimplemented from horizon::Rule.

◆ serialize()

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

Reimplemented from horizon::Rule.


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