LCOV - code coverage report
Current view: top level - src/utils - VectorTag.C (source / functions) Hit Total Coverage
Test: idaholab/moose framework: 419b9d Lines: 7 13 53.8 %
Date: 2025-08-08 20:01:16 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      780290 : VectorTag::VectorTag(const TagID id,
      21             :                      const TagTypeID type_id,
      22             :                      const TagName name,
      23      780290 :                      const Moose::VectorTagType type)
      24      780290 :   : _id(id), _type_id(type_id), _name(name), _type(type)
      25             : {
      26      780290 : }
      27             : 
      28             : bool
      29     4949201 : VectorTag::operator==(const VectorTag & other) const
      30             : {
      31     6530176 :   return _id == other._id && _type_id == other._type_id && _name == other._name &&
      32     6530176 :          _type == other._type;
      33             : }

Generated by: LCOV version 1.14