LCOV - code coverage report
Current view: top level - include/utils - GuaranteeProvider.h (source / functions) Hit Total Coverage
Test: idaholab/moose solid_mechanics: f45d79 Lines: 0 1 0.0 %
Date: 2025-07-25 05:00:39 Functions: 0 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             : #pragma once
      11             : 
      12             : // STL includes
      13             : #include <map>
      14             : 
      15             : // MOOSE includes
      16             : #include "MooseTypes.h"
      17             : #include "Guarantee.h"
      18             : 
      19             : class MooseObject;
      20             : 
      21             : /**
      22             :  * Add-on class that provides the functionality to issue guarantees for
      23             :  * declared material properties. The types of guarantees are listed in Guarantees.h
      24             :  */
      25           0 : class GuaranteeProvider
      26             : {
      27             : public:
      28             :   GuaranteeProvider(const MooseObject * moose_object);
      29             : 
      30             :   bool hasGuarantee(const MaterialPropertyName & prop_name, Guarantee guarantee);
      31             : 
      32             : protected:
      33             :   void issueGuarantee(const MaterialPropertyName & prop_name, Guarantee guarantee);
      34             :   void revokeGuarantee(const MaterialPropertyName & prop_name, Guarantee guarantee);
      35             : 
      36             : private:
      37             :   std::map<MaterialPropertyName, std::set<Guarantee>> _guarantees;
      38             : };

Generated by: LCOV version 1.14