LCOV - code coverage report
Current view: top level - src/reporters - ReporterMode.C (source / functions) Hit Total Coverage
Test: idaholab/moose framework: 2bf808 Lines: 8 8 100.0 %
Date: 2025-07-17 01:28:37 Functions: 4 4 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : //* This file is part of the MOOSE framework
       2             : //* https://mooseframework.inl.gov
       3             : //*
       4             : //* All rights reserved, see COPYRIGHT for full restrictions
       5             : //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
       6             : //*
       7             : //* Licensed under LGPL 2.1, please see LICENSE for details
       8             : //* https://www.gnu.org/licenses/lgpl-2.1.html
       9             : 
      10             : #include "ReporterMode.h"
      11             : const ReporterMode REPORTER_MODE_UNSET("UNSET");
      12             : const ReporterMode REPORTER_MODE_ROOT("ROOT");
      13             : const ReporterMode REPORTER_MODE_REPLICATED("REPLICATED");
      14             : const ReporterMode REPORTER_MODE_DISTRIBUTED("DISTRIBUTED");
      15             : 
      16      256040 : ReporterMode::ReporterMode(const std::string & key) : MooseEnumItem(key, ID_COUNTER++) {}
      17             : 
      18             : int ReporterMode::ID_COUNTER = 0;
      19             : 
      20       77625 : ReporterProducerEnum::ReporterProducerEnum() : MooseEnum() {}
      21             : 
      22             : void
      23      233190 : ReporterProducerEnum::insert(const ReporterMode & mode)
      24             : {
      25      233190 :   addEnumerationItem(mode);
      26      233190 : }
      27             : 
      28             : void
      29         315 : ReporterProducerEnum::clear()
      30             : {
      31         315 :   _items.clear();
      32         315 : }

Generated by: LCOV version 1.14