LCOV - code coverage report
Current view: top level - source/ioutils/fits - fitsHeader.cpp (source / functions) Coverage Total Hit
Test: mxlib Lines: 100.0 % 7 7
Test Date: 2026-08-30 22:23:37 Functions: 100.0 % 3 3

            Line data    Source code
       1              : /** \file fitsHeader.cpp
       2              :  * \brief Implementation of a class to work with a FITS header
       3              :  * \ingroup fits_processing_files
       4              :  * \author Jared R. Males (jaredmales@gmail.com)
       5              :  *
       6              :  */
       7              : 
       8              : //***********************************************************************//
       9              : // Copyright 2015-2022 Jared R. Males (jaredmales@gmail.com)
      10              : //
      11              : // This file is part of mxlib.
      12              : //
      13              : // mxlib is free software: you can redistribute it and/or modify
      14              : // it under the terms of the GNU General Public License as published by
      15              : // the Free Software Foundation, either version 3 of the License, or
      16              : // (at your option) any later version.
      17              : //
      18              : // mxlib is distributed in the hope that it will be useful,
      19              : // but WITHOUT ANY WARRANTY; without even the implied warranty of
      20              : // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      21              : // GNU General Public License for more details.
      22              : //
      23              : // You should have received a copy of the GNU General Public License
      24              : // along with mxlib.  If not, see <http://www.gnu.org/licenses/>.
      25              : //***********************************************************************//
      26              : 
      27              : #include "ioutils/fits/fitsHeader.hpp"
      28              : 
      29              : namespace mx
      30              : {
      31              : namespace fits
      32              : {
      33              : 
      34              : namespace fitsHeaderDetail
      35              : {
      36              : 
      37              : namespace
      38              : {
      39              : 
      40          532 : error_t noMutationFailure( mutation )
      41              : {
      42          532 :     return error_t::noerror;
      43              : }
      44              : 
      45              : } // namespace
      46              : 
      47          587 : mutationHookT &mutationHook()
      48              : {
      49              :     static mutationHookT hook = noMutationFailure;
      50          587 :     return hook;
      51              : }
      52              : 
      53           12 : void resetMutationHook()
      54              : {
      55           12 :     mutationHook() = noMutationFailure;
      56           12 : }
      57              : 
      58              : } // namespace fitsHeaderDetail
      59              : 
      60              : template class fitsHeader<verbose::d>;
      61              : 
      62              : } // namespace fits
      63              : } // namespace mx
        

Generated by: LCOV version 2.0-1