Horizon
Public Member Functions | List of all members
horizon::BoardRules Class Reference
Inheritance diagram for horizon::BoardRules:
horizon::Rules

Public Member Functions

 BoardRules (const BoardRules &other)
 
void operator= (const BoardRules &other)
 
void load_from_json (const json &j) override
 
RulesCheckResult check (RuleID id, const class Board &b, class RulesCheckCache &cache, check_status_cb_t status_cb) const
 
void apply (RuleID id, class Board &b, class ViaPadstackProvider &vpp) const
 
json serialize () const override
 
std::set< RuleID > get_rule_ids () const override
 
const Ruleget_rule (RuleID id) const override
 
const Ruleget_rule (RuleID id, const UUID &uu) const override
 
std::map< UUID, const Rule * > get_rules (RuleID id) const override
 
void remove_rule (RuleID id, const UUID &uu) override
 
Ruleadd_rule (RuleID id) override
 
void cleanup (const class Block *block)
 
uint64_t get_default_track_width (const class Net *net, int layer) const
 
const RuleClearanceCopperget_clearance_copper (const Net *net_a, const Net *net_b, int layer) const
 
const RuleClearanceCopperOtherget_clearance_copper_other (const Net *net, int layer) const
 
const RuleDiffpairget_diffpair (const NetClass *net_class, int layer) const
 
const RuleClearanceCopperKeepoutget_clearance_copper_keepout (const Net *net, const KeepoutContour *contour) const
 
const RuleClearanceSameNetget_clearance_same_net (const Net *net, int layer) const
 
uint64_t get_max_clearance () const
 
const RuleParametersget_parameters () const
 
UUID get_via_padstack_uuid (const class Net *net) const
 
const ParameterSet & get_via_parameter_set (const class Net *net) const
 
const PlaneSettingsget_plane_settings (const class Net *net, int layer) const
 
int get_layer_pair (const Net *net, int layer) const
 
json export_rules (const class RulesExportInfo &export_info, const Board &brd) const
 
void import_rules (const json &j, const RuleImportMap &import_map) override
 
bool can_export () const override
 
- Public Member Functions inherited from horizon::Rules
virtual void import_rules (const json &j, const class RuleImportMap &import_map)
 
Ruleget_rule (RuleID id)
 
Ruleget_rule_nc (RuleID id)
 
Ruleget_rule (RuleID id, const UUID &uu)
 
std::map< UUID, Rule * > get_rules (RuleID id)
 
std::map< UUID, Rule * > get_rules_nc (RuleID id)
 
template<typename T = Rule>
std::vector< const T * > get_rules_sorted (RuleID id) const
 
template<typename T = Rule>
std::vector< T * > get_rules_sorted (RuleID id)
 
void move_rule (RuleID id, const UUID &uu, int dir)
 

Additional Inherited Members

- Protected Member Functions inherited from horizon::Rules
void fix_order (RuleID id)
 

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