34 m_ImplicitItemId( 0 ),
35 m_LayerCondition(
LSET::AllLayersMask() ),
36 m_Condition( nullptr ),
45 m_ImplicitItemId( 0 ),
47 m_LayerCondition(
LSET::AllLayersMask() ),
48 m_Condition( nullptr ),
71 if( c.m_Type == aType )
75 return std::optional<DRC_CONSTRAINT>();
void SetParentRule(DRC_RULE *aParentRule)
DRC_RULE_CONDITION * m_Condition
std::vector< DRC_CONSTRAINT > m_Constraints
void AddConstraint(DRC_CONSTRAINT &aConstraint)
std::optional< DRC_CONSTRAINT > FindConstraint(DRC_CONSTRAINT_T aType)
LSET is a set of PCB_LAYER_IDs.