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

Public Member Functions

RuleID get_id () const override
 RuleHoleSize (const UUID &uu)
 RuleHoleSize (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 can_export () const override
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
virtual bool is_match_all () const

Public Attributes

uint64_t diameter_min = 0.1_mm
uint64_t diameter_max = 10_mm
RuleMatch match
Public Attributes inherited from horizon::Rule
UUID uuid
bool enabled = true
bool imported = false

Static Public Attributes

static const auto id = RuleID::HOLE_SIZE

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

Reimplemented from horizon::Rule.

◆ get_brief()

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

Implements horizon::Rule.

◆ get_id()

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

Implements horizon::Rule.

◆ serialize()

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

Reimplemented from horizon::Rule.


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