23operator<(
const std::pair<ReporterMode, const MooseObject *> & a,
24 const std::pair<ReporterMode, const MooseObject *> & b)
27 return a.second->type() < b.second->type() ||
28 (a.second->type() == b.second->type() && a.second->name() < b.second->name()) ||
29 (a.second->type() == b.second->type() && a.second->name() == b.second->name() &&
bool operator<(const std::pair< ReporterMode, const MooseObject * > &a, const std::pair< ReporterMode, const MooseObject * > &b)
Custom sort for ReporterState::_consumers so that they are sorted by object type, object name,...
Every object that can be built by the factory should be derived from this class.
MooseEnumItem that automatically creates the ID and doesn't allow the ID to be assigned.
The Reporter system is comprised of objects that can contain any number of data values.
void addConsumer(ReporterMode mode, const MooseObject &moose_object)
Add a consumer for this ReporterState.
std::set< std::pair< ReporterMode, const MooseObject * > > _consumers
The consumers for this state; we store the MooseObject for detailed error reporting.
ReporterStateBase(const ReporterName &name)