Registry for statically defining execute flags with consistent numbering.
More...
#include <ExecFlagRegistry.h>
Registry for statically defining execute flags with consistent numbering.
Definition at line 22 of file ExecFlagRegistry.h.
◆ ExecFlagRegistry() [1/3]
moose::internal::ExecFlagRegistry::ExecFlagRegistry |
( |
ExecFlagRegistry const & |
| ) |
|
|
delete |
Don't allow creation through copy/move construction or assignment.
◆ ExecFlagRegistry() [2/3]
◆ ExecFlagRegistry() [3/3]
moose::internal::ExecFlagRegistry::ExecFlagRegistry |
( |
| ) |
|
|
inlineprivate |
◆ getDefaultFlags()
const ExecFlagEnum& moose::internal::ExecFlagRegistry::getDefaultFlags |
( |
| ) |
const |
|
inline |
◆ getExecFlagRegistry()
◆ getFlags()
const ExecFlagEnum& moose::internal::ExecFlagRegistry::getFlags |
( |
| ) |
const |
|
inline |
- Returns
- The registered exec flags.
Definition at line 36 of file ExecFlagRegistry.h.
ExecFlagEnum _flags
The registered flags.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ registerFlag()
const ExecFlagType & moose::internal::ExecFlagRegistry::registerFlag |
( |
const std::string & |
name, |
|
|
const bool |
is_default |
|
) |
| |
Registers an execute flag.
- Parameters
-
name | The name of the execute flag. |
is_default | Whether or not to define the flag as a default (available to all objects that use the SetupInterface). |
Definition at line 26 of file ExecFlagRegistry.C.
29 const auto flag_iter =
_flags.
find(name_upper);
int getNextValidID() const
Compute the next valid ID.
std::string toUpper(const std::string &name)
Convert supplied string to upper case.
MooseEnumItem ExecFlagType
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 _flags
The registered flags.
std::set< MooseEnumItem >::const_iterator find(const MooseEnumItem &other) const
Locate an item.
ExecFlagEnum _default_flags
The default flags.
◆ _default_flags
ExecFlagEnum moose::internal::ExecFlagRegistry::_default_flags |
|
private |
◆ _flags
The documentation for this class was generated from the following files: