72 template <
typename... Args>
81 return static_cast<int>(producer_mode) == static_cast<int>(mode);
87 return producer_mode == mode;
93 return !(producer_mode == mode);
99 return !(mode == producer_mode);
102 template <
typename... Args>
bool operator==(const ReporterProducerEnum &producer_mode, const ReporterMode &mode)
const ReporterMode REPORTER_MODE_UNSET
const ReporterMode REPORTER_MODE_ROOT
ReporterMode(const std::string &key)
MooseEnum designed for the ReporterContext objects to define how a ReporterValue can and is being pro...
void clear()
Clear all available items (i.e., create an empty MooseEnum)
bool operator!=(const ReporterProducerEnum &producer_mode, const ReporterMode &mode)
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
const ReporterMode REPORTER_MODE_DISTRIBUTED
Class for containing MooseEnum item information.
void insert(const ReporterMode &mode, Args... modes)
const ReporterMode REPORTER_MODE_REPLICATED
MooseEnumItem that automatically creates the ID and doesn't allow the ID to be assigned.