31 "' is not an available enum item for the "
32 "MultiMooseEnum object, thus it cannot be removed.");
34 mooseError(
"The supplied item '", flag,
"' is a selected item, thus it can not be removed.");
42 std::string doc(
"The list of flag(s) indicating when this object should be executed. For a "
43 "description of each flag, see ");
88 "' is not an available item for the "
89 "ExecFlagEnum object, thus it cannot be set as current.");
void mooseError(Args &&... args)
Emit an error message with the given stringified, concatenated args and terminate the application.
A MultiMooseEnum object to hold "execute_on" flags.
void appendCurrent(const ExecFlagType &item)
Append the list of current flags.
std::string getDocString() const
Generate a documentation string for the "execute_on" parameter.
ExecFlagEnum & operator=(const ExecFlagEnum &other)=default
ExecFlagEnum & operator+=(const std::initializer_list< ExecFlagType > &flags)
void addAvailableFlags(const ExecFlagType &flag, Args... flags)
Add additional execute_on flags to the list of possible flags.
void removeAvailableFlags(const ExecFlagType &flag, Args... flags)
Remove flags from being available.
std::set< MooseEnumItem > _items
Storage for the assigned items.
std::set< MooseEnumItem >::const_iterator find(const MooseEnumItem &other) const
Locate an item.
const MooseEnumItem & addEnumerationItem(const MooseEnumItem &item)
Class for containing MooseEnum item information.
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type.
std::vector< MooseEnumItem > _current_values
The current value(s) of the MultiMooseEnum.
virtual void checkDeprecated() const override
Check whether any of the current values are deprecated when called.
bool isValueSet(const std::string &value) const
Methods for seeing if a value is set in the MultiMooseEnum.
void clearSetValues()
Clear the MultiMooseEnum.
std::string mooseDocsURL(const std::string &path)