|
KiCad PCB EDA Suite
|
#include "drc_re_rule_loader.h"#include <base_units.h>#include <reporter.h>#include <component_classes/component_class_assignment_rule.h>#include <drc/drc_rule_parser.h>#include <drc/drc_rule_condition.h>#include <wx/ffile.h>#include <algorithm>#include <optional>#include <tuple>#include <utility>#include "drc_re_via_style_constraint_data.h"#include "drc_re_rtg_diff_pair_constraint_data.h"#include "drc_re_min_txt_ht_th_constraint_data.h"#include "drc_re_routing_width_constraint_data.h"#include "drc_re_abs_length_two_constraint_data.h"#include "drc_re_numeric_input_constraint_data.h"#include "drc_re_custom_rule_constraint_data.h"#include "drc_re_bool_input_constraint_data.h"#include "drc_re_vias_under_smd_constraint_data.h"#include "drc_re_allowed_orientation_constraint_data.h"#include "drc_re_permitted_layers_constraint_data.h"#include "drc_re_numeric_constraint_types.h"#include "drc_rule_editor_utils.h"Go to the source code of this file.
Functions | |
| static bool | isSymmetricMinOptMax (const DRC_CONSTRAINT *aConstraint) |
| static bool | isSymmetricTriple (const DRC_CONSTRAINT *aConstraint) |
| static std::optional< wxString > | takeLeadingPredicate (const wxString &aCondition, const wxString &aPredicate) |
| static bool | isMinOnly (const DRC_CONSTRAINT *aConstraint) |
| static bool | hasBothBounds (const DRC_CONSTRAINT *aConstraint) |
| static bool | hasMaxBound (const DRC_CONSTRAINT *aConstraint) |
| static bool | isOnCommentLine (const wxString &aContent, size_t aPos) |
| static size_t | findClosingParen (const wxString &aContent, size_t aOpen) |
| static std::pair< size_t, size_t > | findNextExpression (const wxString &aContent, size_t aFrom) |
| static bool | isVersionExpression (const wxString &aContent, size_t aOpen) |
| static std::pair< size_t, size_t > | findNextRule (const wxString &aContent, size_t aFrom) |
| static LSET | ruleLayers (const DRC_RULE &aRule) |
| static std::shared_ptr< DRC_RE_BASE_CONSTRAINT_DATA > | makeCustomRuleData (const DRC_RULE &aRule) |
|
static |
Definition at line 171 of file drc_re_rule_loader.cpp.
References isOnCommentLine().
Referenced by DRC_RULE_LOADER::ExtractRuleText(), and findNextExpression().
|
static |
Definition at line 225 of file drc_re_rule_loader.cpp.
References findClosingParen(), and isOnCommentLine().
Referenced by findNextRule(), and DRC_RULE_LOADER::LoadFromString().
|
static |
Definition at line 270 of file drc_re_rule_loader.cpp.
References findNextExpression(), and isVersionExpression().
Referenced by DRC_RULE_LOADER::LoadFromString().
|
static |
Definition at line 143 of file drc_re_rule_loader.cpp.
References DRC_CONSTRAINT::GetValue(), and MINOPTMAX< T >::HasMax().
Referenced by DRC_RULE_LOADER::createConstraintData().
|
static |
Definition at line 149 of file drc_re_rule_loader.cpp.
References DRC_CONSTRAINT::GetValue(), and MINOPTMAX< T >::HasMax().
Referenced by DRC_RULE_LOADER::createConstraintData().
|
static |
Definition at line 130 of file drc_re_rule_loader.cpp.
References DRC_CONSTRAINT::GetValue(), and MINOPTMAX< T >::HasMin().
Referenced by DRC_RULE_LOADER::createConstraintData().
|
static |
Definition at line 156 of file drc_re_rule_loader.cpp.
Referenced by findClosingParen(), findNextExpression(), and isVersionExpression().
|
static |
Definition at line 79 of file drc_re_rule_loader.cpp.
References DRC_CONSTRAINT::GetValue().
Referenced by DRC_RULE_LOADER::createConstraintData(), and isSymmetricTriple().
|
static |
Definition at line 95 of file drc_re_rule_loader.cpp.
References DRC_CONSTRAINT::GetValue(), MINOPTMAX< T >::HasMin(), and isSymmetricMinOptMax().
Referenced by DRC_RULE_LOADER::createConstraintData().
|
static |
Definition at line 251 of file drc_re_rule_loader.cpp.
References isOnCommentLine().
Referenced by findNextRule(), and DRC_RULE_LOADER::LoadFromString().
|
static |
Definition at line 291 of file drc_re_rule_loader.cpp.
References DRC_RULE::m_Name.
Referenced by DRC_RULE_LOADER::createConstraintData().
Definition at line 282 of file drc_re_rule_loader.cpp.
References LSET::AllLayersMask(), and DRC_RULE::m_LayerCondition.
Referenced by DRC_RULE_LOADER::LoadRule().
|
static |
Definition at line 108 of file drc_re_rule_loader.cpp.
Referenced by DRC_RULE_LOADER::createConstraintData().