https://mooseframework.inl.gov
Classes | Functions | Variables
ReporterMode.h File Reference

Go to the source code of this file.

Classes

class  ReporterMode
 MooseEnumItem that automatically creates the ID and doesn't allow the ID to be assigned. More...
 
class  ReporterProducerEnum
 MooseEnum designed for the ReporterContext objects to define how a ReporterValue can and is being produced. More...
 

Functions

bool operator== (const ReporterProducerEnum &producer_mode, const ReporterMode &mode)
 
bool operator== (const ReporterMode &mode, const ReporterProducerEnum &producer_mode)
 
bool operator!= (const ReporterProducerEnum &producer_mode, const ReporterMode &mode)
 
bool operator!= (const ReporterMode &mode, const ReporterProducerEnum &producer_mode)
 

Variables

const ReporterMode REPORTER_MODE_UNSET
 
const ReporterMode REPORTER_MODE_ROOT
 
const ReporterMode REPORTER_MODE_REPLICATED
 
const ReporterMode REPORTER_MODE_DISTRIBUTED
 

Function Documentation

◆ operator!=() [1/2]

bool operator!= ( const ReporterProducerEnum producer_mode,
const ReporterMode mode 
)
inline

Definition at line 91 of file ReporterMode.h.

92 {
93  return !(producer_mode == mode);
94 }

◆ operator!=() [2/2]

bool operator!= ( const ReporterMode mode,
const ReporterProducerEnum producer_mode 
)
inline

Definition at line 97 of file ReporterMode.h.

98 {
99  return !(mode == producer_mode);
100 }

◆ operator==() [1/2]

bool operator== ( const ReporterProducerEnum producer_mode,
const ReporterMode mode 
)
inline

Definition at line 79 of file ReporterMode.h.

80 {
81  return static_cast<int>(producer_mode) == static_cast<int>(mode);
82 }

◆ operator==() [2/2]

bool operator== ( const ReporterMode mode,
const ReporterProducerEnum producer_mode 
)
inline

Definition at line 85 of file ReporterMode.h.

86 {
87  return producer_mode == mode;
88 }

Variable Documentation

◆ REPORTER_MODE_DISTRIBUTED

const ReporterMode REPORTER_MODE_DISTRIBUTED

◆ REPORTER_MODE_REPLICATED

const ReporterMode REPORTER_MODE_REPLICATED

◆ REPORTER_MODE_ROOT

const ReporterMode REPORTER_MODE_ROOT

◆ REPORTER_MODE_UNSET

const ReporterMode REPORTER_MODE_UNSET