24 virtual void execute()
override;
const std::vector< std::string > & _disable
List of objects to disable if condition is met.
ConditionalEnableControl(const InputParameters ¶meters)
virtual void execute() override
Execute the control.
const bool & _reverse_on_false
When true, the disable/enable lists are set to opposite values when the specified condition is false...
virtual bool conditionMet(const unsigned int &i)=0
Condition that must be true for an entry of the "enable" list to be enabled and/or an entry of the "d...
static InputParameters validParams()
const std::vector< std::string > & _enable
List of objects to enable if condition is met.
Base class for Control objects.
const InputParameters & parameters() const
Get the parameters of the object.
Base class for controls that enable/disable object(s) based on some condition.