|
KiCad PCB EDA Suite
|
#include <widgets/wx_progress_reporters.h>#include <widgets/appearance_controls.h>#include <confirm.h>#include <pcb_edit_frame.h>#include <kiface_base.h>#include "dialog_drc_rule_editor.h"#include "panel_drc_rule_editor.h"#include "drc_rule_editor_enums.h"#include "drc_re_base_constraint_data.h"#include "drc_re_numeric_input_constraint_data.h"#include "drc_re_bool_input_constraint_data.h"#include "drc_re_via_style_constraint_data.h"#include "drc_re_abs_length_two_constraint_data.h"#include "drc_re_min_txt_ht_th_constraint_data.h"#include "drc_re_rtg_diff_pair_constraint_data.h"#include "drc_re_routing_width_constraint_data.h"#include "drc_re_permitted_layers_constraint_data.h"#include "drc_re_allowed_orientation_constraint_data.h"#include "drc_re_custom_rule_constraint_data.h"#include "drc_re_rule_loader.h"#include "drc_re_rule_saver.h"#include <drc/drc_engine.h>#include <drc/drc_rule_condition.h>#include <tool/tool_manager.h>#include <tool/actions.h>#include <wx/ffile.h>#include <memory>Go to the source code of this file.
Functions | |
| const RULE_TREE_NODE * | FindNodeById (const std::vector< RULE_TREE_NODE > &aNodes, int aTargetId) |
| bool | nodeExists (const RULE_TREE_NODE &aRuleTreeNode, const wxString &aTargetName) |
| Checks if a node with the given name exists in the rule tree or its child nodes. | |
| bool | nodeExists (const std::vector< RULE_TREE_NODE > &aRuleTreeNodes, const wxString &aTargetName) |
| Checks if a node with the given name exists in a list of rule tree nodes. | |
| const RULE_TREE_NODE * FindNodeById | ( | const std::vector< RULE_TREE_NODE > & | aNodes, |
| int | aTargetId ) |
Definition at line 52 of file dialog_drc_rule_editor.cpp.
| bool nodeExists | ( | const RULE_TREE_NODE & | aRuleTreeNode, |
| const wxString & | aTargetName ) |
Checks if a node with the given name exists in the rule tree or its child nodes.
| aRuleTreeNode | The node to check. |
| aTargetName | The name of the target node to search for. |
Definition at line 697 of file dialog_drc_rule_editor.cpp.
References RULE_TREE_NODE::m_childNodes, RULE_TREE_NODE::m_nodeName, and nodeExists().
Referenced by DIALOG_DRC_RULE_EDITOR::buildRuleTreeNode(), nodeExists(), and nodeExists().
| bool nodeExists | ( | const std::vector< RULE_TREE_NODE > & | aRuleTreeNodes, |
| const wxString & | aTargetName ) |
Checks if a node with the given name exists in a list of rule tree nodes.
| aRuleTreeNodes | The list of rule tree nodes to check. |
| aTargetName | The name of the target node to search for. |
Definition at line 723 of file dialog_drc_rule_editor.cpp.
References nodeExists().