38 template <
typename... Args>
47 using MultiMooseEnum::operator=;
58 template <
typename... Args>
71 const std::set<ExecFlagType> &
items()
const {
return _items; }
80 template <
typename... Args>
88 template <
typename... Args>
ExecFlagEnum & operator+=(const std::initializer_list< ExecFlagType > &flags)
A MultiMooseEnum object to hold "execute_on" flags.
void addAvailableFlags(const ExecFlagType &flag, Args... flags)
Add additional execute_on flags to the list of possible flags.
const std::set< ExecFlagType > & items() const
Reference the all the available items.
ExecFlagEnum & operator=(const ExecFlagEnum &other)=default
std::string getDocString() const
Generate a documentation string for the "execute_on" parameter.
std::set< MooseEnumItem > _items
Storage for the assigned items.
void appendCurrent(const ExecFlagType &item)
Append the list of current flags.
Class for containing MooseEnum item information.
void removeAvailableFlags(const ExecFlagType &flag, Args... flags)
Remove flags from being available.
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...