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

Public Member Functions

RuleID get_id () const override
 RuleParameters (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 solder_mask_expansion = 0.1_mm
uint64_t paste_mask_contraction = 0
uint64_t courtyard_expansion = 0.25_mm
uint64_t via_solder_mask_expansion = 0.1_mm
uint64_t hole_solder_mask_expansion = 0.1_mm
Public Attributes inherited from horizon::Rule
UUID uuid
bool enabled = true
bool imported = false

Static Public Attributes

static const auto id = RuleID::PARAMETERS

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::RuleParameters::can_export ( ) const
inlineoverridevirtual

Reimplemented from horizon::Rule.

◆ get_brief()

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

Implements horizon::Rule.

◆ get_id()

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

Implements horizon::Rule.

◆ serialize()

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

Reimplemented from horizon::Rule.


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