46 aDirective.AddConnectedRuleArea( &aRuleArea );
47 aRuleArea.m_directives.insert( &aDirective );
78 for(
const FlagSetter setter : setters )
84 ( ruleArea.*setter )(
true,
nullptr, wxEmptyString );
bool IsDirectiveLabelOnlyArea() const
Return true when the rule area exists only as a container for attached directive labels.
void SetDNP(bool aDNP, const SCH_SHEET_PATH *aInstance=nullptr, const wxString &aVariantName=wxEmptyString) override
void SetExcludedFromSim(bool aExcludeFromSim, const SCH_SHEET_PATH *aInstance=nullptr, const wxString &aVariantName=wxEmptyString) override
Set or clear the exclude from simulation flag.
void SetExcludedFromBOM(bool aExcludeFromBOM, const SCH_SHEET_PATH *aInstance=nullptr, const wxString &aVariantName=wxEmptyString) override
Set or clear the exclude from schematic bill of materials flag.
void SetExcludedFromBoard(bool aExclude, const SCH_SHEET_PATH *aInstance=nullptr, const wxString &aVariantName=wxEmptyString) override
Set or clear exclude from board netlist flag.
Handle access to a stack of flattened SCH_SHEET objects by way of a path for creating a flattened sch...
BOOST_AUTO_TEST_SUITE(CadstarPartParser)
BOOST_AUTO_TEST_SUITE_END()
static void attachDirective(SCH_RULE_AREA &aRuleArea, SCH_DIRECTIVE_LABEL &aDirective)
Attach a directive label to a rule area, establishing the bidirectional cache link that addDirective(...
BOOST_AUTO_TEST_CASE(AreaWithoutDirectiveIsNotDirectiveLabelOnly)