LCOV - code coverage report
Current view: top level - src/utils - VectorTag.C (source / functions) Hit Total Coverage
Test: idaholab/moose framework: 2bf808 Lines: 7 13 53.8 %
Date: 2025-07-17 01:28:37 Functions: 2 3 66.7 %
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 "VectorTag.h"
      11             : 
      12           0 : VectorTag::VectorTag()
      13           0 :   : _id(Moose::INVALID_TAG_ID),
      14           0 :     _type_id(Moose::INVALID_TAG_TYPE_ID),
      15           0 :     _name(""),
      16           0 :     _type(Moose::VECTOR_TAG_ANY)
      17             : {
      18           0 : }
      19             : 
      20      723828 : VectorTag::VectorTag(const TagID id,
      21             :                      const TagTypeID type_id,
      22             :                      const TagName name,
      23      723828 :                      const Moose::VectorTagType type)
      24      723828 :   : _id(id), _type_id(type_id), _name(name), _type(type)
      25             : {
      26      723828 : }
      27             : 
      28             : bool
      29     4589072 : VectorTag::operator==(const VectorTag & other) const
      30             : {
      31     6055406 :   return _id == other._id && _type_id == other._type_id && _name == other._name &&
      32     6055406 :          _type == other._type;
      33             : }

Generated by: LCOV version 1.14