26 const wxString& aComponentClass, std::shared_ptr<DRC_RULE_CONDITION>&& aCondition ) :
37 return m_condition->EvaluateFor( aFootprint,
nullptr, 0, aFootprint->
GetSide(),
nullptr );
wxString m_componentClass
The component class to assign to matching footprints.
bool Matches(const FOOTPRINT *aFootprint) const
Tests whether this rules matches the given footprint.
COMPONENT_CLASS_ASSIGNMENT_RULE(const wxString &aComponentClass, std::shared_ptr< DRC_RULE_CONDITION > &&aCondition)
Construct a component class assignment rule.
std::shared_ptr< DRC_RULE_CONDITION > m_condition
The DRC condition which specifies footprint matches for this component class.